r1090 - trunk

lordhavoc at icculus.org lordhavoc at icculus.org
Mon Feb 11 20:26:51 EST 2008


Author: lordhavoc
Date: 2008-02-11 20:26:50 -0500 (Mon, 11 Feb 2008)
New Revision: 1090

Modified:
   trunk/util.c
Log is attached.
recoded Util_ParseC_Lex (and an edit to SetupThread accordingly) because
of a parsing bug I could not figure out
they now use separate peek and advance macros, rather than using the
read-and-advance and put-back macros it had before
I have found separate peek and advance macros to be consistently less
buggy in the past when dealing with multi-char symbol checks such as /*
comments and \r\n line endings
approach to use
Util_ParseC_Lex can now deal with Mac text files (\r line endings)


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20080212.012651.diff
URL: <http://icculus.org/pipermail/neither-commits/attachments/20080211/2a7b8448/attachment.diff>


More information about the neither-commits mailing list