Mon, 16 Feb 2009 22:23:51 -0500 |
Ryan C. Gordon |
Added #define preprocessor directive.
|
changeset |
files
|
Mon, 16 Feb 2009 22:21:53 -0500 |
Ryan C. Gordon |
Added a FIXME.
|
changeset |
files
|
Mon, 16 Feb 2009 22:21:35 -0500 |
Ryan C. Gordon |
add_define() can take a string we allocated elsewhere, to avoid extra StrDup().
|
changeset |
files
|
Mon, 16 Feb 2009 21:43:14 -0500 |
Ryan C. Gordon |
Merged back to one head.
|
changeset |
files
|
Mon, 16 Feb 2009 20:30:05 -0500 |
Ryan C. Gordon |
Try to make #error lexing match gcc's.
|
changeset |
files
|
Mon, 16 Feb 2009 20:29:28 -0500 |
Ryan C. Gordon |
Fix state when rewinding stream.
|
changeset |
files
|
Sun, 15 Feb 2009 20:14:35 -0500 |
Ryan C. Gordon |
Renamed buffer_init() to init_buffer() to match rest of function names.
|
changeset |
files
|
Sun, 15 Feb 2009 20:13:46 -0500 |
Ryan C. Gordon |
Moved Buffer stuff higher up, so internal routines can use it.
|
changeset |
files
|
Sun, 15 Feb 2009 02:51:39 -0500 |
Ryan C. Gordon |
Lexer now handles '\\' continuation at the end of a line.
|
changeset |
files
|
Sun, 15 Feb 2009 02:49:40 -0500 |
Ryan C. Gordon |
Allow debug output directly from the lexer, before preprocessor eats.
|
changeset |
files
|
Sun, 15 Feb 2009 02:46:08 -0500 |
Ryan C. Gordon |
Better debug token output.
|
changeset |
files
|
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. :)
|
changeset |
files
|
Sun, 15 Feb 2009 02:24:59 -0500 |
Ryan C. Gordon |
Added some FIXMEs.
|
changeset |
files
|
Sun, 15 Feb 2009 02:03:24 -0500 |
Ryan C. Gordon |
Fixed line numbers when a preprocessor directive fails.
|
changeset |
files
|
Sun, 15 Feb 2009 01:53:08 -0500 |
Ryan C. Gordon |
Fixed #else preprocessor directive so it'll work with #elif.
|
changeset |
files
|
Sat, 14 Feb 2009 23:00:34 -0500 |
Ryan C. Gordon |
Implemented #else preprocessor directive.
|
changeset |
files
|
Sat, 14 Feb 2009 17:59:55 -0500 |
Ryan C. Gordon |
Implemented #ifdef and #ifndef preprocessor directives.
|
changeset |
files
|
Sat, 14 Feb 2009 17:48:18 -0500 |
Ryan C. Gordon |
Fixed logic bug in string loop.
|
changeset |
files
|
Sat, 14 Feb 2009 17:25:55 -0500 |
Ryan C. Gordon |
Implemented #endif preprocessor directive.
|
changeset |
files
|
Sat, 14 Feb 2009 02:47:17 -0500 |
Ryan C. Gordon |
Initial work on preprocessor conditionals.
|
changeset |
files
|
Sat, 14 Feb 2009 01:45:32 -0500 |
Ryan C. Gordon |
Updated re2c-generated code.
|
changeset |
files
|
Sat, 14 Feb 2009 01:44:07 -0500 |
Ryan C. Gordon |
Added #undef directive to preprocessor.
|
changeset |
files
|
Sat, 14 Feb 2009 01:34:34 -0500 |
Ryan C. Gordon |
Added a FIXME.
|
changeset |
files
|
Sat, 14 Feb 2009 01:33:18 -0500 |
Ryan C. Gordon |
'#' is not a valid HLSL token (we check for preprocessor directives elsewhere).
|
changeset |
files
|
Fri, 13 Feb 2009 23:55:10 -0500 |
Ryan C. Gordon |
Fix line numbers in #error preprocessor directives.
|
changeset |
files
|
Fri, 13 Feb 2009 23:38:21 -0500 |
Ryan C. Gordon |
Implemented #line preprocessor directive.
|
changeset |
files
|
Fri, 13 Feb 2009 18:57:11 -0500 |
Ryan C. Gordon |
Have re2c omit the build timestamp.
|
changeset |
files
|
Fri, 13 Feb 2009 18:54:21 -0500 |
Ryan C. Gordon |
Moved filename caching into the preprocessor.
|
changeset |
files
|
Fri, 13 Feb 2009 10:15:36 -0500 |
Ryan C. Gordon |
Implemented #include in the preprocessor.
|
changeset |
files
|
Fri, 13 Feb 2009 09:22:20 -0500 |
Ryan C. Gordon |
Don't include malloc()/free() references if using MOJOSHADER_FORCE_ALLOCATOR.
|
changeset |
files
|
Fri, 13 Feb 2009 09:17:46 -0500 |
Ryan C. Gordon |
Added a FIXME.
|
changeset |
files
|
Fri, 13 Feb 2009 09:17:05 -0500 |
Ryan C. Gordon |
We already #included malloc.h in mojoshader_internal.h ...
|
changeset |
files
|
Fri, 13 Feb 2009 09:08:33 -0500 |
Ryan C. Gordon |
Removed unused fields.
|
changeset |
files
|
Fri, 13 Feb 2009 02:29:17 -0500 |
Ryan C. Gordon |
Added support for #error directive to the preprocessor.
|
changeset |
files
|
Fri, 13 Feb 2009 02:28:26 -0500 |
Ryan C. Gordon |
Added some TODOs for the preprocessor.
|
changeset |
files
|
Fri, 13 Feb 2009 02:23:20 -0500 |
Ryan C. Gordon |
Patched to compile.
|
changeset |
files
|
Fri, 13 Feb 2009 01:41:47 -0500 |
Ryan C. Gordon |
More minor comment tweaks.
|
changeset |
files
|
Fri, 13 Feb 2009 01:39:19 -0500 |
Ryan C. Gordon |
Updated re2c-generated code again.
|
changeset |
files
|
Fri, 13 Feb 2009 01:08:50 -0500 |
Ryan C. Gordon |
Reworked and documented preprocessor tokens.
|
changeset |
files
|
Fri, 13 Feb 2009 00:37:26 -0500 |
Ryan C. Gordon |
Updated build of mojoshader_lexer.c ...
|
changeset |
files
|
Fri, 13 Feb 2009 00:37:02 -0500 |
Ryan C. Gordon |
Turned off line numbers in lexer C output.
|
changeset |
files
|
Fri, 13 Feb 2009 00:35:35 -0500 |
Ryan C. Gordon |
Removed preprocessor_error(). Returns a Token to specify an error state now.
|
changeset |
files
|
Thu, 12 Feb 2009 22:57:21 -0500 |
Ryan C. Gordon |
Bogus chars in the lexer now return a token that signifies this.
|
changeset |
files
|
Thu, 12 Feb 2009 22:55:05 -0500 |
Ryan C. Gordon |
Renamed "any" to "ANY" to match other rules.
|
changeset |
files
|
Thu, 12 Feb 2009 21:26:58 -0500 |
Ryan C. Gordon |
Handle lexing of comment ends better.
|
changeset |
files
|
Thu, 12 Feb 2009 20:41:01 -0500 |
Ryan C. Gordon |
A couple endline fixes in the lexer.
|
changeset |
files
|
Thu, 12 Feb 2009 19:00:06 -0500 |
Ryan C. Gordon |
Use the d3d profile, so we're just disassembling and not converting.
|
changeset |
files
|
Thu, 12 Feb 2009 18:57:22 -0500 |
Ryan C. Gordon |
Removed an underscore.
|
changeset |
files
|
Thu, 12 Feb 2009 18:55:05 -0500 |
Ryan C. Gordon |
Updated counts.sh to give only mismatched counts.
|
changeset |
files
|
Thu, 12 Feb 2009 17:32:30 -0500 |
Ryan C. Gordon |
This doesn't need an #if around it.
|
changeset |
files
|
Thu, 12 Feb 2009 17:32:19 -0500 |
Ryan C. Gordon |
Updated some URLs in the comments.
|
changeset |
files
|
Thu, 12 Feb 2009 17:29:24 -0500 |
Ryan C. Gordon |
Moved all the test and utility programs to a "utils" directory.
|
changeset |
files
|
Thu, 12 Feb 2009 17:25:49 -0500 |
Ryan C. Gordon |
Unified some cut-and-paste code.
|
changeset |
files
|
Thu, 12 Feb 2009 17:12:46 -0500 |
Ryan C. Gordon |
Added new tokens to debug output.
|
changeset |
files
|
Thu, 12 Feb 2009 17:10:04 -0500 |
Ryan C. Gordon |
Ignore some more files.
|
changeset |
files
|
Thu, 12 Feb 2009 13:54:01 -0500 |
Ryan C. Gordon |
Updated lexer for HLSL.
|
changeset |
files
|
Thu, 12 Feb 2009 02:55:45 -0500 |
Ryan C. Gordon |
Fixed preprocessor indent and endline output.
|
changeset |
files
|
Thu, 12 Feb 2009 02:49:43 -0500 |
Ryan C. Gordon |
Added another FIXME.
|
changeset |
files
|
Thu, 12 Feb 2009 02:48:35 -0500 |
Ryan C. Gordon |
Added a FIXME.
|
changeset |
files
|
Thu, 12 Feb 2009 02:42:52 -0500 |
Ryan C. Gordon |
Updated re2c-generated lexer code.
|
changeset |
files
|