\lst@definelanguage{eagle}[]{C}%
	{morekeywords={
		usage,
		EAGLE_VERSION, EAGLE_REVISION, REAL_EPSILON, REAL_MAX, REAL_MIN,
		INT_MAX, INT_MIN, PI,
		board, deviceset, library, output, package, schematic, sheet, 
		symbol, 
		real, string,
		abs, acos, asin, atan, ceil, cos, exit, exp,
		filedir, fileerror, fileext, fileglob, filename,
		fileread, filesetext, filesize, filetime,
		floor, frac, ingroup, isalnum, isalpha, iscntrl,
		isdigit, isgraph, islower, isprint, ispunct, isspace,
		isupper, isxdigit, log, log10, lookup, max, min,
		palette, pow, printf, round, sin, sort, sprintf,
		sqrt, status, strchr, strjoin, strlen, strlwr, strrchr,
		strrstr, strsplit, strstr, strsub, strtod, strtol,
		strupr, system, t2day, t2dayofweek, t2hour, t2minute,
		t2month, t2second, t2string, t2year, tan, time,
		tolower, toupper, trunc, u2inch, u2mic, u2mil, u2mm,
		UL_LIBRARY, UL_GRID, UL_LAYER, UL_DEVICESET, UL_DEVICE, UL_GATE,
		UL_PACKAGE, UL_CONTACT, UL_PAD, UL_SMD, UL_CIRCLE, UL_HOLE,
		UL_RECTANGLE, UL_FRAME, UL_TEXT, UL_WIRE, UL_POLYGON,
		UL_SYMBOL, UL_PIN, UL_SCHEMATIC, UL_PART, UL_INSTANCE,
		UL_ATTRIBUTE, UL_BUS, UL_SEGMENT, UL_LABEL, UL_NET,
		UL_JUNCTION, UL_PINREF, UL_BOARD, UL_ELEMENT, UL_SIGNAL,
		UL_CONTACTREF, UL_VIA,
		SET, DISPLAY, GRID, SET, WINDOW, WIRE,
		CLOSE, EDIT, EXPORT, OPEN, QUIT, REMOVE, SCRIPT,
		USE, WRITE, ADD, ARC, ATTRIBUTE, CIRCLE, CLASS,
		COPY, CUT, DELETE, DESCRIPTION, GROUP, HOLE, LAYER,
		MIRROR, MITER, MOVE, NAME, PASTE, POLYGON, RECT, ROTATE,
		SMASH, SPLIT, TEXT, VALUE, WIRE, DRC, ERRORS,
		LOCK, RATSNEST, REPLACE, RIPUP, ROUTE, SIGNAL, VIA,
		BOARD, BUS, ERC, GATESWAP, INVOKE, JUNCTION, 
		LABEL, NET, PINSWAP, CONNECT, PACKAGE, PAD, PIN,
		PREFIX, REMOVE, SMD, TECHNOLOGY, VALUE,
		ASSIGN, CHANGE, MENU, AUTO, HELP, INFO, MARK,
		OPTIMIZE, PRINT, REDO, RUN, SHOW, UNDO, UPDATE
		},
	sensitive=true
	}
