aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/lex.c
Commit message (Expand)AuthorAgeFilesLines
* cpp: get rid of unnecessary ugly global variable for lexing header name lemon2026-03-051-31/+23
* cpp: implement #include MACRO_NAME lemon2026-03-051-55/+98
* cpp: #include".." shouldn't look in working directory lemon2026-03-051-6/+8
* driver: fix -pthread, -U lemon2026-03-021-1/+5
* cpp: fix token spacing edge case when empty macros are involved lemon2026-03-011-1/+5
* cpp: fix token spacing (#2) (hopefully) lemon2026-03-011-34/+78
* cpp: allow comments between function-like macro name and arguments lemon2026-02-261-8/+27
* preprocessor: use shared static buffers for replacement lists lemon2026-02-251-150/+178
* fix various warnings lemon2026-02-241-1/+1
* diagnostics: also print #include provenance for warnings lemon2026-02-241-1/+2
* cpp: fix __has_builtin lemon2026-02-231-2/+8
* cpp: add __COUNTER__ macro lemon2026-02-231-131/+172
* preprocessor: fix an edge case with erroneously recursive macro expansion lemon2026-02-221-26/+42
* cpp: better diagnostics lemon2026-02-211-13/+40
* cpp: add __VA_OPT__ and comma ## __VA_ARGS__ pasting lemon2026-02-061-5/+40
* c: GNU __attribute__ stubs lemon2026-01-251-0/+1
* driver: -iquote, -isystem, etc lemon2026-01-121-15/+27
* cpp: prioritize internal headers over system headers lemon2026-01-101-6/+6
* Add version tracking. Starting at 0.1.0 lemon2026-01-091-4/+14
* cpp: fix pasting ident+keyword lemon2026-01-091-4/+7
* lexer: multibyte escape seqs in wide character literal lemon2026-01-091-4/+13
* cpp: fix multiline comment in skipped preprocessor directive lemon2026-01-091-2/+16
* cpp: fix single-line comment after preprocessor directive lemon2026-01-091-1/+1
* cpp: nicer handling of predefined macros lemon2025-12-291-40/+29
* backend: start implementing aarch64 lemon2025-12-281-0/+4
* preprocessor make some errors just warnings lemon2025-12-221-4/+6
* c: Fix some dumb uses of initialized stuff lemon2025-12-221-3/+7
* c: keyword aliases lemon2025-12-211-4/+17
* lexer: more small optimizations lemon2025-12-211-14/+33
* lexer: note source of #include when error occurs in #included file lemon2025-12-201-0/+6
* c: support CRLF newlines lemon2025-12-201-3/+11
* lexer: fix remnant use of TKEOF for character lemon2025-12-201-9/+7
* optimize lexer a bit more lemon2025-12-201-60/+86
* lexer: convert pp-idents to keywords only after preprocessing lemon2025-12-201-63/+65
* cpp: GNU extension for named variadic arguments lemon2025-12-181-4/+7
* cpp: better error recovery for #define syntax error lemon2025-12-181-6/+7
* nicer defaults and facilities for cross-compilation lemon2025-12-171-2/+16
* create distinct interned string type lemon2025-12-151-22/+21
* move intern() to mem.c lemon2025-12-151-45/+0
* lex: loop with goto instead of tail recursion lemon2025-12-151-7/+8
* lexer: use a hashmap to lookup keywords lemon2025-12-151-27/+27
* cpp: support #line directives lemon2025-12-141-10/+75
* cpp: correctly handle extra tokens after directives lemon2025-12-141-16/+21
* s/amd64/x86_64/ lemon2025-12-121-1/+1
* lex: use pmap for macro lookup lemon2025-12-121-125/+69
* rename arraylength macro -> countof lemon2025-12-111-20/+20
* -trigraphs option lemon2025-12-111-3/+3
* lex/expr(): cleanup lemon2025-12-111-29/+29
* lexer: properly add padding for cpppredefs lemon2025-12-101-2/+2
* lex: make some hashtables resizable lemon2025-12-091-29/+67