mojoshader_preprocessor.c
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.
Sun, 15 Feb 2009 02:03:24 -0500 Ryan C. Gordon Fixed line numbers when a preprocessor directive fails.
Sun, 15 Feb 2009 01:53:08 -0500 Ryan C. Gordon Fixed #else preprocessor directive so it'll work with #elif.
Sat, 14 Feb 2009 23:00:34 -0500 Ryan C. Gordon Implemented #else preprocessor directive.
Sat, 14 Feb 2009 17:59:55 -0500 Ryan C. Gordon Implemented #ifdef and #ifndef preprocessor directives.
Sat, 14 Feb 2009 17:48:18 -0500 Ryan C. Gordon Fixed logic bug in string loop.
Sat, 14 Feb 2009 17:25:55 -0500 Ryan C. Gordon Implemented #endif preprocessor directive.
Sat, 14 Feb 2009 02:47:17 -0500 Ryan C. Gordon Initial work on preprocessor conditionals.
Sat, 14 Feb 2009 01:44:07 -0500 Ryan C. Gordon Added #undef directive to preprocessor.
Sat, 14 Feb 2009 01:34:34 -0500 Ryan C. Gordon Added a FIXME.
Fri, 13 Feb 2009 23:55:10 -0500 Ryan C. Gordon Fix line numbers in #error preprocessor directives.
Fri, 13 Feb 2009 23:38:21 -0500 Ryan C. Gordon Implemented #line preprocessor directive.
Fri, 13 Feb 2009 18:54:21 -0500 Ryan C. Gordon Moved filename caching into the preprocessor.
Fri, 13 Feb 2009 10:15:36 -0500 Ryan C. Gordon Implemented #include in the preprocessor.
less more (0) -60 tip