Fri, 27 Feb 2009 00:32:37 -0500 |
Ryan C. Gordon |
Resolved "dangling else" problem in HLSL grammar.
|
changeset |
files
|
Fri, 27 Feb 2009 00:32:07 -0500 |
Ryan C. Gordon |
Converted original YACC grammar to Lemon grammar.
|
changeset |
files
|
Wed, 25 Feb 2009 23:47:02 -0500 |
Ryan C. Gordon |
Added Jeff Lee's ANSI C yacc grammar.
|
changeset |
files
|
Tue, 24 Feb 2009 09:09:14 -0500 |
Ryan C. Gordon |
Fixed preprocessor conditional logic.
|
changeset |
files
|
Tue, 24 Feb 2009 07:17:29 -0500 |
Ryan C. Gordon |
Removed a semicolon from a #define
|
changeset |
files
|
Tue, 24 Feb 2009 03:00:21 -0500 |
Ryan C. Gordon |
Support for "#if defined" in preprocessor.
|
changeset |
files
|
Tue, 24 Feb 2009 02:57:47 -0500 |
Ryan C. Gordon |
Quick optimization.
|
changeset |
files
|
Tue, 24 Feb 2009 02:04:05 -0500 |
Ryan C. Gordon |
Fixed crash in lexer on empty input stream.
|
changeset |
files
|
Tue, 24 Feb 2009 01:53:24 -0500 |
Ryan C. Gordon |
Fixed SRCMOD_NEGATE usage when assembling.
|
changeset |
files
|
Tue, 24 Feb 2009 01:53:04 -0500 |
Ryan C. Gordon |
Added a FIXME.
|
changeset |
files
|
Tue, 24 Feb 2009 01:42:28 -0500 |
Ryan C. Gordon |
Fixed version string parser to be more robust.
|
changeset |
files
|
Mon, 23 Feb 2009 23:42:57 -0500 |
Ryan C. Gordon |
Preprocessor now traps newlines.
|
changeset |
files
|
Mon, 23 Feb 2009 23:41:32 -0500 |
Ryan C. Gordon |
Removed a FIXME that got fixed awhile ago.
|
changeset |
files
|
Mon, 23 Feb 2009 23:07:59 -0500 |
Ryan C. Gordon |
Updated re2c-generated code.
|
changeset |
files
|
Mon, 23 Feb 2009 23:07:06 -0500 |
Ryan C. Gordon |
Moved asm comment processing into the lexer.
|
changeset |
files
|
Mon, 23 Feb 2009 20:43:41 -0500 |
Ryan C. Gordon |
Fixed crash when macros are recursing.
|
changeset |
files
|
Mon, 23 Feb 2009 20:26:12 -0500 |
Ryan C. Gordon |
No reason you can't specify the same option twice.
|
changeset |
files
|
Mon, 23 Feb 2009 17:52:28 -0500 |
Ryan C. Gordon |
Implemented #elif preprocessor directive.
|
changeset |
files
|
Mon, 23 Feb 2009 17:49:10 -0500 |
Ryan C. Gordon |
Current working directory should always be in the include path.
|
changeset |
files
|
Mon, 23 Feb 2009 17:39:30 -0500 |
Ryan C. Gordon |
Implemented RPN interpreter. Now #if preprocessor directive works!
|
changeset |
files
|
Mon, 23 Feb 2009 17:21:48 -0500 |
Ryan C. Gordon |
Fixed operator precedence.
|
changeset |
files
|
Mon, 23 Feb 2009 16:56:28 -0500 |
Ryan C. Gordon |
Made this into debug output.
|
changeset |
files
|
Mon, 23 Feb 2009 16:43:52 -0500 |
Ryan C. Gordon |
First work on #if directive.
|
changeset |
files
|
Mon, 23 Feb 2009 08:00:36 -0500 |
Ryan C. Gordon |
Added a FIXME.
|
changeset |
files
|
Sat, 21 Feb 2009 21:29:59 -0500 |
Ryan C. Gordon |
Updated re2c-generated code.
|
changeset |
files
|
Sat, 21 Feb 2009 21:29:49 -0500 |
Ryan C. Gordon |
Fixed lexer to only accept preprocessor directives at start of a line.
|
changeset |
files
|
Fri, 20 Feb 2009 09:01:40 -0500 |
Ryan C. Gordon |
Preprocessor now supports macros with parameters.
|
changeset |
files
|
Fri, 20 Feb 2009 08:03:27 -0500 |
Ryan C. Gordon |
Fixed cleanup of Conditionals in pop_source().
|
changeset |
files
|
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
|