82 次程式碼提交 (a65cf7b1d29e98ef3bf31051df8a06cb394d131f)

作者 SHA1 備註 提交日期
  Carl Worth a65cf7b1d2 Make two list-processing functions do nothing with an empty list. 15 年之前
  Carl Worth dd7490093d Avoid treating an expanded comma as an argument separator. 15 年之前
  Carl Worth 7db2402a80 Add support (and test) for an object-to-function chain with the parens in the content. 15 年之前
  Carl Worth 95951ea7bb Treat newlines as space when invoking a function-like macro invocation. 15 年之前
  Carl Worth 0324cad796 All macro lookups should be of type macro_t, not string_list_t. 15 年之前
  Carl Worth 8e82fcb070 Implement (and test) support for macro expansion within conditional expressions. 15 年之前
  Carl Worth 8fed1cddae stash 15 年之前
  Carl Worth ad0dee6bb0 Implement token pasting. 15 年之前
  Carl Worth ce540f2571 Rename identifier from 'i' to 'node'. 15 年之前
  Carl Worth 63909fc196 Remove some stale token types. 15 年之前
  Carl Worth ec4ada01c0 Prevent unexpanded macros from being expanded again in the future. 15 年之前
  Carl Worth b1ae61a2ee Fix a typo in a comment. 15 年之前
  Carl Worth d5cd40343f Expand macro arguments before performing argument substitution. 15 年之前
  Carl Worth 0197e9b64f Change macro expansion to append onto token lists rather than printing directly. 15 年之前
  Carl Worth c0607d573e Check active expansions before expanding a function-like macro invocation. 15 年之前
  Carl Worth 10ae438399 Avoid getting extra trailing whitespace from macros. 15 年之前
  Carl Worth 5aa7ea0809 Remove a bunch of old code and give the static treatment to what's left. 15 年之前
  Carl Worth 652fa272ea Avoid swallowing initial left parenthesis from nested macro invocation. 15 年之前
  Carl Worth c7581c2e6e Ignore separating whitespace at the beginning of a macro argument. 15 年之前
  Carl Worth 9ce18cf983 Implement substitution of function parameters in macro calls. 15 年之前
  Carl Worth e9397867dd Collapse multiple spaces in input down to a single space. 15 年之前
  Carl Worth f34a0009dd Pass through literal space values from replacement lists. 15 年之前
  Carl Worth b1854fdfb6 Implement simplified substitution for function-like macro invocation. 15 年之前
  Carl Worth e6fb7827c9 Implement #undef. 15 年之前
  Carl Worth ae6517f4a8 Implement expansion of object-like macros. 15 年之前
  Carl Worth 9fb8b7a495 Make the lexer pass whitespace through (as OTHER tokens) for text lines. 15 年之前
  Carl Worth 808401fd79 Store parsed tokens as token list and print all text lines. 15 年之前
  Carl Worth 80dc60b9c3 Delete some trailing whitespace. 15 年之前
  Carl Worth 3ff8167084 Starting over with the C99 grammar for the preprocessor. 15 年之前
  Carl Worth 35419095f8 Switch to intmax_t (rather than int) for #if expressions 15 年之前
  Carl Worth bcbd587b0f Implement all operators specified for GLSL #if expressions (with tests). 15 年之前
  Carl Worth b20d33c5c6 Implement #if, #else, #elif, and #endif with tests. 15 年之前
  Carl Worth d8327e575d Implement (and add test) for token pasting. 15 年之前
  Carl Worth c10a51ba13 Pre-expand macro arguments at time of invocation. 15 年之前
  Carl Worth 876e510bda Finish cleaning up whitespace differences. 15 年之前
  Carl Worth 5a6b9a27fd Avoid printing a space at the beginning of lines in the output. 15 年之前
  Carl Worth 005b32061f Fix bug of consuming excess whitespace. 15 年之前
  Carl Worth ff13cfed81 Remove unused function _print_string_list 15 年之前
  Carl Worth 805ea6afe6 Add test (and fix) for a function argument of a macro that expands with a comma. 15 年之前
  Carl Worth 9f3d2c4e3d Add support for commas within parenthesized groups in function arguments. 15 年之前
  Carl Worth b569383bbd Avoid re-expanding a macro name that has once been rejected from expansion. 15 年之前
  Carl Worth 472524413d Use new token_list_t rather than string_list_t for macro values. 15 年之前
  Carl Worth aaa9acbf10 Perform "re lexing" on string list values rathern than on text. 15 年之前
  Carl Worth 71c59ec66b Remove unused NEWLINE token. 15 年之前
  Carl Worth 66df1c262a Remove unneeded YYLEX_PARAM define. 15 年之前
  Carl Worth 0293b2e2dd Rename yylex to glcpp_parser_lex and give it a glcpp_parser_t* argument. 15 年之前
  Carl Worth 8f38aff9b5 Add a wrapper function around the lexer. 15 年之前
  Carl Worth 5d21142545 Like previous fix, but for object-like macros (and add a test). 15 年之前
  Carl Worth 59ca98990f Fix bug as in previous fix, but with multi-token argument. 15 年之前
  Carl Worth 69f390d609 Fix bug (and test) for an invocation using macro name as a non-macro argument 15 年之前