Menu

Tools Commit Log


Commit Date  
[r3006] by plombo

Fixed the expansion of nested macros.

2011-02-10 07:22:54 Tree
[r3005] by plombo

Fixed the parsing of backslash-newlines in '//' script comments.

2011-02-09 18:50:36 Tree
[r3004] by plombo

Fix the total and free RAM values reported under Linux.

2011-02-09 06:41:13 Tree
[r3003] by plombo

Remove all recursive calls to pp_parser_parse() and introduce persistent subparsers.

Now the preprocessor can really return tokens one at a time!

2011-02-04 01:45:02 Tree
[r3002] by plombo

Fixed detection of normal vs. function-style #defines. Before, directives like this were being misdetected as functions:
#define NUM (16*1024)

2011-02-03 20:15:10 Tree
[r3001] by plombo

Fixed the line numbers reported by pp_lexer.

2011-02-03 20:15:07 Tree
[r3000] by plombo

Fixed a buffer overflow in pp_lexer for tokens longer than 512 characters.

Also, this is revision 3000!!!!! Hooray!

2011-02-03 01:09:12 Tree
[r2999] by plombo

Fixed the parsing of function-style macros with parameters that are not a single identifier, such as 'func(32)' and 'func(foo+bar)'.

2011-02-03 01:09:07 Tree
[r2998] by plombo

Treat backslash-escaped line breaks as whitespace in pp_lexer. This improves the preprocessor's conformance to the C standard in corner cases.

2011-02-02 23:07:09 Tree
[r2997] by plombo

MAJOR refactoring of the preprocessor (pp_parser). Tokens are now emitted one at a time by pp_parser_emit_token(). pp_parser_parse() just calls that function until EOF.

It's worth noting that they're not quite emitted one at a time, because including and macro expansion still call pp_parser_parse() on the subparser. But this still moves the preprocessor a step closer to eliminating the token buffer.

2011-02-02 21:19:59 Tree
Older >
MongoDB Logo MongoDB