mojoshader_preprocessor.c
Sat, 20 Feb 2010 23:41:21 -0500 Ryan C. Gordon Added a FIXME.
Mon, 08 Feb 2010 03:30:48 -0500 Ryan C. Gordon Make #include callbacks optional. calculator-experiment
Sun, 15 Nov 2009 14:02:18 -0500 Ryan C. Gordon Bunch of small tweaks to make this compile as C++ code without errors/warnings.
Thu, 09 Apr 2009 19:36:42 -0400 Ryan C. Gordon Reworked preprocessor macro argument parsing.
Thu, 09 Apr 2009 19:35:31 -0400 Ryan C. Gordon Fixed typo.
Thu, 09 Apr 2009 10:51:58 -0400 Ryan C. Gordon Fixed assertion failure when defining a void-argument macro: "#define a() b"
Thu, 09 Apr 2009 03:50:06 -0400 Ryan C. Gordon Handle macro arguments that contain parentheses, like macro((1+1),2).
Sun, 29 Mar 2009 22:27:07 -0400 Ryan C. Gordon Put in a much better string hashing algorithm.
Fri, 06 Mar 2009 23:22:04 -0500 Ryan C. Gordon Fixed NULL dereference in debug output.
Fri, 06 Mar 2009 22:56:44 -0500 Ryan C. Gordon Print out current source/line number when debugging any parser/lexer.
Tue, 24 Feb 2009 09:09:14 -0500 Ryan C. Gordon Fixed preprocessor conditional logic.
Tue, 24 Feb 2009 03:00:21 -0500 Ryan C. Gordon Support for "#if defined" in preprocessor.
Tue, 24 Feb 2009 02:57:47 -0500 Ryan C. Gordon Quick optimization.
Mon, 23 Feb 2009 23:42:57 -0500 Ryan C. Gordon Preprocessor now traps newlines.
Mon, 23 Feb 2009 23:41:32 -0500 Ryan C. Gordon Removed a FIXME that got fixed awhile ago.
Mon, 23 Feb 2009 23:07:06 -0500 Ryan C. Gordon Moved asm comment processing into the lexer.
Mon, 23 Feb 2009 20:43:41 -0500 Ryan C. Gordon Fixed crash when macros are recursing.
Mon, 23 Feb 2009 17:52:28 -0500 Ryan C. Gordon Implemented #elif preprocessor directive.
Mon, 23 Feb 2009 17:39:30 -0500 Ryan C. Gordon Implemented RPN interpreter. Now #if preprocessor directive works!
Mon, 23 Feb 2009 17:21:48 -0500 Ryan C. Gordon Fixed operator precedence.
Mon, 23 Feb 2009 16:56:28 -0500 Ryan C. Gordon Made this into debug output.
Mon, 23 Feb 2009 16:43:52 -0500 Ryan C. Gordon First work on #if directive.
Mon, 23 Feb 2009 08:00:36 -0500 Ryan C. Gordon Added a FIXME.
Sat, 21 Feb 2009 21:29:49 -0500 Ryan C. Gordon Fixed lexer to only accept preprocessor directives at start of a line.
Fri, 20 Feb 2009 09:01:40 -0500 Ryan C. Gordon Preprocessor now supports macros with parameters.
Fri, 20 Feb 2009 08:03:27 -0500 Ryan C. Gordon Fixed cleanup of Conditionals in pop_source().
Fri, 20 Feb 2009 01:15:44 -0500 Ryan C. Gordon Renamed DefineHash to Define.
Fri, 20 Feb 2009 01:15:24 -0500 Ryan C. Gordon Fixing some comments.
Thu, 19 Feb 2009 04:05:37 -0500 Ryan C. Gordon Fixed memory leak.
Thu, 19 Feb 2009 03:58:25 -0500 Ryan C. Gordon Fixed memory pool code.
Wed, 18 Feb 2009 21:16:26 -0500 Ryan C. Gordon Should be an array of structs, not an array of pointers to structs.
Wed, 18 Feb 2009 20:08:01 -0500 Ryan C. Gordon Fold predefined macros into a virtual #include at the start of input.
Wed, 18 Feb 2009 19:50:37 -0500 Ryan C. Gordon Let there be different close callbacks per IncludeState.
Wed, 18 Feb 2009 19:30:04 -0500 Ryan C. Gordon Changed DefineHash definition.
Wed, 18 Feb 2009 14:43:16 -0500 Ryan C. Gordon Patched to compile.
Wed, 18 Feb 2009 14:12:06 -0500 Ryan C. Gordon Added basic pushback facility to the preprocessor.
Wed, 18 Feb 2009 08:30:34 -0500 Ryan C. Gordon Patched to compile.
Wed, 18 Feb 2009 08:29:48 -0500 Ryan C. Gordon Renamed preprocessor_internal_lexer to preprocessor_lexer.
Wed, 18 Feb 2009 08:27:08 -0500 Ryan C. Gordon Have lexer calculate token size now.
Wed, 18 Feb 2009 00:35:42 -0500 Ryan C. Gordon Added some FIXMEs.
Wed, 18 Feb 2009 00:33:43 -0500 Ryan C. Gordon Use memory pools when allocating a bunch of short-lived structures.
Tue, 17 Feb 2009 08:42:25 -0500 Ryan C. Gordon Added a FIXME.
Tue, 17 Feb 2009 08:41:23 -0500 Ryan C. Gordon Handle basic macro replacement in the preprocessor.
Tue, 17 Feb 2009 08:40:34 -0500 Ryan C. Gordon Don't add spaces to the start of #define data.
Tue, 17 Feb 2009 08:40:03 -0500 Ryan C. Gordon Enormous amount of tapdancing to handle EOI better in the lexer.
Tue, 17 Feb 2009 00:57:09 -0500 Ryan C. Gordon Fixed some off-by-one nonsense.
Tue, 17 Feb 2009 00:38:15 -0500 Ryan C. Gordon push_source() now specifies a line number.
Mon, 16 Feb 2009 22:23:51 -0500 Ryan C. Gordon Added #define preprocessor directive.
Mon, 16 Feb 2009 22:21:53 -0500 Ryan C. Gordon Added a FIXME.
Mon, 16 Feb 2009 22:21:35 -0500 Ryan C. Gordon add_define() can take a string we allocated elsewhere, to avoid extra StrDup().
Mon, 16 Feb 2009 21:43:14 -0500 Ryan C. Gordon Merged back to one head.
Mon, 16 Feb 2009 20:30:05 -0500 Ryan C. Gordon Try to make #error lexing match gcc's.
Mon, 16 Feb 2009 20:29:28 -0500 Ryan C. Gordon Fix state when rewinding stream.
Sun, 15 Feb 2009 20:14:35 -0500 Ryan C. Gordon Renamed buffer_init() to init_buffer() to match rest of function names.
Sun, 15 Feb 2009 20:13:46 -0500 Ryan C. Gordon Moved Buffer stuff higher up, so internal routines can use it.
Sun, 15 Feb 2009 02:51:39 -0500 Ryan C. Gordon Lexer now handles '\\' continuation at the end of a line.
Sun, 15 Feb 2009 02:49:40 -0500 Ryan C. Gordon Allow debug output directly from the lexer, before preprocessor eats.
Sun, 15 Feb 2009 02:46:08 -0500 Ryan C. Gordon Better debug token output.
Sun, 15 Feb 2009 02:25:26 -0500 Ryan C. Gordon Moved the "public API" comment to what is now, in fact, the real public API. :)
Sun, 15 Feb 2009 02:24:59 -0500 Ryan C. Gordon Added some FIXMEs.
less more (0) -60 tip