Fri, 20 Feb 2009 01:15:44 -0500 |
Ryan C. Gordon |
Renamed DefineHash to Define.
|
changeset |
files
|
Fri, 20 Feb 2009 01:15:24 -0500 |
Ryan C. Gordon |
Fixing some comments.
|
changeset |
files
|
Thu, 19 Feb 2009 04:05:37 -0500 |
Ryan C. Gordon |
Fixed memory leak.
|
changeset |
files
|
Thu, 19 Feb 2009 04:00:21 -0500 |
Ryan C. Gordon |
Turn off allocator debug output.
|
changeset |
files
|
Thu, 19 Feb 2009 03:58:25 -0500 |
Ryan C. Gordon |
Fixed memory pool code.
|
changeset |
files
|
Thu, 19 Feb 2009 03:58:14 -0500 |
Ryan C. Gordon |
Fixed allocator debug output.
|
changeset |
files
|
Thu, 19 Feb 2009 03:39:19 -0500 |
Ryan C. Gordon |
Fixed some strings.
|
changeset |
files
|
Thu, 19 Feb 2009 03:38:10 -0500 |
Ryan C. Gordon |
Merged assemble.c into mojoshader-compiler.c ...
|
changeset |
files
|
Thu, 19 Feb 2009 03:36:49 -0500 |
Ryan C. Gordon |
Added fail().
|
changeset |
files
|
Thu, 19 Feb 2009 03:24:03 -0500 |
Ryan C. Gordon |
That should be an "else if", not an "if" ...
|
changeset |
files
|
Thu, 19 Feb 2009 03:22:38 -0500 |
Ryan C. Gordon |
Fixed comment.
|
changeset |
files
|
Thu, 19 Feb 2009 03:22:21 -0500 |
Ryan C. Gordon |
Added allocator debug output.
|
changeset |
files
|
Thu, 19 Feb 2009 03:19:15 -0500 |
Ryan C. Gordon |
Renaming preprocess.c for change of plans with utilities.
|
changeset |
files
|
Thu, 19 Feb 2009 03:11:20 -0500 |
Ryan C. Gordon |
Made function static.
|
changeset |
files
|
Thu, 19 Feb 2009 03:09:26 -0500 |
Ryan C. Gordon |
Allocate just enough to read the input file.
|
changeset |
files
|
Thu, 19 Feb 2009 01:46:18 -0500 |
Ryan C. Gordon |
Fixed logic bug: used wrong variable.
|
changeset |
files
|
Thu, 19 Feb 2009 01:46:01 -0500 |
Ryan C. Gordon |
Allow preprocess.c to specify include paths on the command line.
|
changeset |
files
|
Wed, 18 Feb 2009 21:35:37 -0500 |
Ryan C. Gordon |
Added command line stuff to preprocess.c, including predefined macro support.
|
changeset |
files
|
Wed, 18 Feb 2009 21:16:26 -0500 |
Ryan C. Gordon |
Should be an array of structs, not an array of pointers to structs.
|
changeset |
files
|
Wed, 18 Feb 2009 20:08:01 -0500 |
Ryan C. Gordon |
Fold predefined macros into a virtual #include at the start of input.
|
changeset |
files
|
Wed, 18 Feb 2009 19:50:37 -0500 |
Ryan C. Gordon |
Let there be different close callbacks per IncludeState.
|
changeset |
files
|
Wed, 18 Feb 2009 19:30:04 -0500 |
Ryan C. Gordon |
Changed DefineHash definition.
|
changeset |
files
|
Wed, 18 Feb 2009 14:43:16 -0500 |
Ryan C. Gordon |
Patched to compile.
|
changeset |
files
|
Wed, 18 Feb 2009 14:43:11 -0500 |
Ryan C. Gordon |
Updated re2c-generated code.
|
changeset |
files
|
Wed, 18 Feb 2009 14:12:06 -0500 |
Ryan C. Gordon |
Added basic pushback facility to the preprocessor.
|
changeset |
files
|
Wed, 18 Feb 2009 08:35:07 -0500 |
Ryan C. Gordon |
Lexer now stores token value to IncludeState.
|
changeset |
files
|
Wed, 18 Feb 2009 08:30:34 -0500 |
Ryan C. Gordon |
Patched to compile.
|
changeset |
files
|
Wed, 18 Feb 2009 08:29:48 -0500 |
Ryan C. Gordon |
Renamed preprocessor_internal_lexer to preprocessor_lexer.
|
changeset |
files
|
Wed, 18 Feb 2009 08:27:08 -0500 |
Ryan C. Gordon |
Have lexer calculate token size now.
|
changeset |
files
|
Wed, 18 Feb 2009 00:35:42 -0500 |
Ryan C. Gordon |
Added some FIXMEs.
|
changeset |
files
|
Wed, 18 Feb 2009 00:33:43 -0500 |
Ryan C. Gordon |
Use memory pools when allocating a bunch of short-lived structures.
|
changeset |
files
|
Tue, 17 Feb 2009 08:42:25 -0500 |
Ryan C. Gordon |
Added a FIXME.
|
changeset |
files
|
Tue, 17 Feb 2009 08:41:23 -0500 |
Ryan C. Gordon |
Handle basic macro replacement in the preprocessor.
|
changeset |
files
|
Tue, 17 Feb 2009 08:40:34 -0500 |
Ryan C. Gordon |
Don't add spaces to the start of #define data.
|
changeset |
files
|
Tue, 17 Feb 2009 08:40:03 -0500 |
Ryan C. Gordon |
Enormous amount of tapdancing to handle EOI better in the lexer.
|
changeset |
files
|
Tue, 17 Feb 2009 00:57:09 -0500 |
Ryan C. Gordon |
Fixed some off-by-one nonsense.
|
changeset |
files
|
Tue, 17 Feb 2009 00:38:15 -0500 |
Ryan C. Gordon |
push_source() now specifies a line number.
|
changeset |
files
|
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
|