Wed, 18 Feb 2009 19:50:37 -0500 |
Ryan C. Gordon |
Let there be different close callbacks per IncludeState.
|
file |
diff |
annotate
|
Wed, 18 Feb 2009 19:30:04 -0500 |
Ryan C. Gordon |
Changed DefineHash definition.
|
file |
diff |
annotate
|
Wed, 18 Feb 2009 14:43:16 -0500 |
Ryan C. Gordon |
Patched to compile.
|
file |
diff |
annotate
|
Wed, 18 Feb 2009 14:12:06 -0500 |
Ryan C. Gordon |
Added basic pushback facility to the preprocessor.
|
file |
diff |
annotate
|
Wed, 18 Feb 2009 08:30:34 -0500 |
Ryan C. Gordon |
Patched to compile.
|
file |
diff |
annotate
|
Wed, 18 Feb 2009 08:29:48 -0500 |
Ryan C. Gordon |
Renamed preprocessor_internal_lexer to preprocessor_lexer.
|
file |
diff |
annotate
|
Wed, 18 Feb 2009 08:27:08 -0500 |
Ryan C. Gordon |
Have lexer calculate token size now.
|
file |
diff |
annotate
|
Wed, 18 Feb 2009 00:35:42 -0500 |
Ryan C. Gordon |
Added some FIXMEs.
|
file |
diff |
annotate
|
Wed, 18 Feb 2009 00:33:43 -0500 |
Ryan C. Gordon |
Use memory pools when allocating a bunch of short-lived structures.
|
file |
diff |
annotate
|
Tue, 17 Feb 2009 08:42:25 -0500 |
Ryan C. Gordon |
Added a FIXME.
|
file |
diff |
annotate
|
Tue, 17 Feb 2009 08:41:23 -0500 |
Ryan C. Gordon |
Handle basic macro replacement in the preprocessor.
|
file |
diff |
annotate
|
Tue, 17 Feb 2009 08:40:34 -0500 |
Ryan C. Gordon |
Don't add spaces to the start of #define data.
|
file |
diff |
annotate
|
Tue, 17 Feb 2009 08:40:03 -0500 |
Ryan C. Gordon |
Enormous amount of tapdancing to handle EOI better in the lexer.
|
file |
diff |
annotate
|
Tue, 17 Feb 2009 00:57:09 -0500 |
Ryan C. Gordon |
Fixed some off-by-one nonsense.
|
file |
diff |
annotate
|
Tue, 17 Feb 2009 00:38:15 -0500 |
Ryan C. Gordon |
push_source() now specifies a line number.
|
file |
diff |
annotate
|
Mon, 16 Feb 2009 22:23:51 -0500 |
Ryan C. Gordon |
Added #define preprocessor directive.
|
file |
diff |
annotate
|
Mon, 16 Feb 2009 22:21:53 -0500 |
Ryan C. Gordon |
Added a FIXME.
|
file |
diff |
annotate
|
Mon, 16 Feb 2009 22:21:35 -0500 |
Ryan C. Gordon |
add_define() can take a string we allocated elsewhere, to avoid extra StrDup().
|
file |
diff |
annotate
|
Mon, 16 Feb 2009 21:43:14 -0500 |
Ryan C. Gordon |
Merged back to one head.
|
file |
diff |
annotate
|
Mon, 16 Feb 2009 20:30:05 -0500 |
Ryan C. Gordon |
Try to make #error lexing match gcc's.
|
file |
diff |
annotate
|
Mon, 16 Feb 2009 20:29:28 -0500 |
Ryan C. Gordon |
Fix state when rewinding stream.
|
file |
diff |
annotate
|
Sun, 15 Feb 2009 20:14:35 -0500 |
Ryan C. Gordon |
Renamed buffer_init() to init_buffer() to match rest of function names.
|
file |
diff |
annotate
|
Sun, 15 Feb 2009 20:13:46 -0500 |
Ryan C. Gordon |
Moved Buffer stuff higher up, so internal routines can use it.
|
file |
diff |
annotate
|
Sun, 15 Feb 2009 02:51:39 -0500 |
Ryan C. Gordon |
Lexer now handles '\\' continuation at the end of a line.
|
file |
diff |
annotate
|
Sun, 15 Feb 2009 02:49:40 -0500 |
Ryan C. Gordon |
Allow debug output directly from the lexer, before preprocessor eats.
|
file |
diff |
annotate
|
Sun, 15 Feb 2009 02:46:08 -0500 |
Ryan C. Gordon |
Better debug token output.
|
file |
diff |
annotate
|
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. :)
|
file |
diff |
annotate
|
Sun, 15 Feb 2009 02:24:59 -0500 |
Ryan C. Gordon |
Added some FIXMEs.
|
file |
diff |
annotate
|
Sun, 15 Feb 2009 02:03:24 -0500 |
Ryan C. Gordon |
Fixed line numbers when a preprocessor directive fails.
|
file |
diff |
annotate
|
Sun, 15 Feb 2009 01:53:08 -0500 |
Ryan C. Gordon |
Fixed #else preprocessor directive so it'll work with #elif.
|
file |
diff |
annotate
|
Sat, 14 Feb 2009 23:00:34 -0500 |
Ryan C. Gordon |
Implemented #else preprocessor directive.
|
file |
diff |
annotate
|
Sat, 14 Feb 2009 17:59:55 -0500 |
Ryan C. Gordon |
Implemented #ifdef and #ifndef preprocessor directives.
|
file |
diff |
annotate
|
Sat, 14 Feb 2009 17:48:18 -0500 |
Ryan C. Gordon |
Fixed logic bug in string loop.
|
file |
diff |
annotate
|
Sat, 14 Feb 2009 17:25:55 -0500 |
Ryan C. Gordon |
Implemented #endif preprocessor directive.
|
file |
diff |
annotate
|
Sat, 14 Feb 2009 02:47:17 -0500 |
Ryan C. Gordon |
Initial work on preprocessor conditionals.
|
file |
diff |
annotate
|
Sat, 14 Feb 2009 01:44:07 -0500 |
Ryan C. Gordon |
Added #undef directive to preprocessor.
|
file |
diff |
annotate
|
Sat, 14 Feb 2009 01:34:34 -0500 |
Ryan C. Gordon |
Added a FIXME.
|
file |
diff |
annotate
|
Fri, 13 Feb 2009 23:55:10 -0500 |
Ryan C. Gordon |
Fix line numbers in #error preprocessor directives.
|
file |
diff |
annotate
|
Fri, 13 Feb 2009 23:38:21 -0500 |
Ryan C. Gordon |
Implemented #line preprocessor directive.
|
file |
diff |
annotate
|
Fri, 13 Feb 2009 18:54:21 -0500 |
Ryan C. Gordon |
Moved filename caching into the preprocessor.
|
file |
diff |
annotate
|
Fri, 13 Feb 2009 10:15:36 -0500 |
Ryan C. Gordon |
Implemented #include in the preprocessor.
|
file |
diff |
annotate
|
Fri, 13 Feb 2009 09:08:33 -0500 |
Ryan C. Gordon |
Removed unused fields.
|
file |
diff |
annotate
|
Fri, 13 Feb 2009 02:29:17 -0500 |
Ryan C. Gordon |
Added support for #error directive to the preprocessor.
|
file |
diff |
annotate
|
Fri, 13 Feb 2009 02:28:26 -0500 |
Ryan C. Gordon |
Added some TODOs for the preprocessor.
|
file |
diff |
annotate
|
Fri, 13 Feb 2009 02:23:20 -0500 |
Ryan C. Gordon |
Patched to compile.
|
file |
diff |
annotate
|
Fri, 13 Feb 2009 01:08:50 -0500 |
Ryan C. Gordon |
Reworked and documented preprocessor tokens.
|
file |
diff |
annotate
|
Fri, 13 Feb 2009 00:35:35 -0500 |
Ryan C. Gordon |
Removed preprocessor_error(). Returns a Token to specify an error state now.
|
file |
diff |
annotate
|
Thu, 12 Feb 2009 22:57:21 -0500 |
Ryan C. Gordon |
Bogus chars in the lexer now return a token that signifies this.
|
file |
diff |
annotate
|
Thu, 12 Feb 2009 17:25:49 -0500 |
Ryan C. Gordon |
Unified some cut-and-paste code.
|
file |
diff |
annotate
|
Thu, 12 Feb 2009 17:12:46 -0500 |
Ryan C. Gordon |
Added new tokens to debug output.
|
file |
diff |
annotate
|
Thu, 12 Feb 2009 02:55:45 -0500 |
Ryan C. Gordon |
Fixed preprocessor indent and endline output.
|
file |
diff |
annotate
|
Thu, 12 Feb 2009 02:49:43 -0500 |
Ryan C. Gordon |
Added another FIXME.
|
file |
diff |
annotate
|
Thu, 12 Feb 2009 02:41:43 -0500 |
Ryan C. Gordon |
Allow app to specify a base filename for error messages.
|
file |
diff |
annotate
|
Thu, 12 Feb 2009 01:06:40 -0500 |
Ryan C. Gordon |
Disabled lexer debug output.
|
file |
diff |
annotate
|
Wed, 11 Feb 2009 21:40:41 -0500 |
Ryan C. Gordon |
Added more debug output.
|
file |
diff |
annotate
|
Wed, 11 Feb 2009 21:29:23 -0500 |
Ryan C. Gordon |
Set an error in the preprocessor if there's an incomplete multiline comment.
|
file |
diff |
annotate
|
Wed, 11 Feb 2009 21:28:48 -0500 |
Ryan C. Gordon |
Reworked preprocessor newline management.
|
file |
diff |
annotate
|
Tue, 10 Feb 2009 17:54:00 -0500 |
Ryan C. Gordon |
Added basic lexer debug output.
|
file |
diff |
annotate
|
Tue, 10 Feb 2009 17:30:52 -0500 |
Ryan C. Gordon |
Handle NULL file names.
|
file |
diff |
annotate
|
Tue, 10 Feb 2009 17:29:36 -0500 |
Ryan C. Gordon |
Preprocessor should return TOKEN_EOI when we finish the whole include stack.
|
file |
diff |
annotate
|