Author: muggenhor
Date: Mon May 12 22:29:13 2008
New Revision: 5094
URL: http://svn.gna.org/viewcvs/warzone?rev=5094&view=rev
Log:
* Use the lexer_input framework instead of a custom YY_INPUT implementation
for audp_lexer.l
* Get rid of lexer function parseGetErrorData and use audp_get_lineno() and
audp_get_text() instead
* Add a WZ_DECL_FORMAT declaration to audp_error to enable GCC's printf format
checking
* In audp_error allocate the buffer on the stack using alloca() instead of an
auto 1kB text buffer
Modified:
trunk/lib/gamelib/audp_lexer.l
trunk/lib/gamelib/audp_parser.y
trunk/lib/gamelib/parser.h
trunk/lib/script/chat_parser.y
trunk/src/parsetest.c
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits