aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/lex.c
Commit message (Collapse)AuthorAgeFilesLines
...
* lex/expr(): cleanuplemon2025-12-111-29/+29
|
* lexer: properly add padding for cpppredefslemon2025-12-101-2/+2
|
* lex: make some hashtables resizablelemon2025-12-091-29/+67
| | | | Was hiting the fixed limits trying to preprocess sqlite3amalgamation
* add command-line predefined macros (-D, -U)lemon2025-12-061-4/+52
|
* cpp: implement preprocessor expressions short circuiting behaviourlemon2025-12-031-17/+23
| | | | This only affects whether an error is given for something like `0 && 0/0` (it shouldn't)
* preprocessor: add #ifndef...#endif include guard optimizationlemon2025-12-021-11/+27
|
* lex: remove some hacks and optimize preprocessorlemon2025-11-281-39/+34
|
* pp: fix token pasting (hopefully)lemon2025-11-241-27/+15
|
* lex: TEMP hack: #define __x86_64__ or some system headers break subtlylemon2025-11-231-0/+1
|
* cpp: fix bugs with recursive macro expansion (hopefully)lemon2025-11-231-28/+24
|
* cpp: fix ## buglemon2025-11-231-1/+1
|
* c: move warning for extension keyword til after preprocessorlemon2025-11-221-2/+2
|
* lex: #include ".." should also look in working directorylemon2025-11-221-19/+17
|
* lex: move token data from tmp to glob arena when used in a macro bodylemon2025-11-221-2/+7
| | | | | | maybe introduce per-macro arenas to tie their lifetimes to that. but most macros have global lifetime (i.e. aren't #undef'd) so there probably wouldn't be much benefit to that
* cpp: add predefined __antcc__ macro, for debugginglemon2025-11-201-0/+1
|
* ir: 'trap' jump; c: __builtin_trap; lex: __has_builtinlemon2025-11-151-4/+25
|
* lex: fix single-line comment eating up preprocessor directive in next linelemon2025-11-081-1/+1
|
* lex: #warning and #errorlemon2025-11-081-2/+13
|
* lex: fix bugs filling char bufferlemon2025-10-271-14/+22
|
* lex enlarge internhtlemon2025-10-231-1/+1
|
* lex: fix expansion for fn like macros passed as macro argumentslemon2025-10-231-1/+1
|
* lex: fix consecutive preprocessor concatenationlemon2025-10-231-7/+10
|
* use libc's stdout/stderr; also eliminate some unnecessary recursion in bfmtlemon2025-10-231-1/+1
|
* lex: fix base-16 literals adding an extra zero when there's a type suffixlemon2025-10-231-4/+3
|
* lex: handle all the whitespace characterslemon2025-10-211-1/+1
|
* refactor vec_of(T) and misclemon2025-10-201-7/+14
|
* Organize source files into directorieslemon2025-10-191-0/+1977