Jeremiah Orians
|
2af8507661
|
Add support for #warning
|
2022-09-15 20:19:57 -04:00 |
Jeremiah Orians
|
ae5ae61461
|
Preserve __M2__ in output
|
2022-01-22 13:55:09 -05:00 |
Jeremiah Orians
|
a6397e7eb7
|
ensure #define statements don't propagate comments as well
|
2022-01-22 11:45:01 -05:00 |
Jeremiah Orians
|
533aeb1dfa
|
nested #if blocks now behave correctly
|
2022-01-20 07:38:01 -05:00 |
Jeremiah Orians
|
2043782a45
|
now M2-Mesoplanet compiles hello world for x86 correctly
|
2022-01-05 07:13:24 -05:00 |
Jeremiah Orians
|
48857058eb
|
Fix minor issue involving #define -1 inside of an #if block
|
2021-12-26 07:57:00 -05:00 |
Jeremiah Orians
|
5a81f6ae68
|
Make output more closely match input to enable easier audits
|
2021-12-26 07:42:54 -05:00 |
Jeremiah Orians
|
b34a2528c8
|
Basic #include functionality imported
|
2021-12-25 09:06:57 -05:00 |
Andrius Štikonas
|
30629320b7
|
Deal with whitespace tokens in define statements.
|
2021-11-27 21:25:38 +00:00 |
Jeremiah Orians
|
eba382a014
|
Preserve whitespace in tokenizer.
This is needed to avoid confusing defines such as
#define A (1)
for macro functions.
|
2021-11-27 21:22:07 +00:00 |
Andrius Štikonas
|
d577e56fb9
|
Insert expansions of macro functions.
|
2021-11-27 17:52:11 +00:00 |
Andrius Štikonas
|
04906fd5b0
|
Match macro argument names with their expansions.
|
2021-11-27 17:52:11 +00:00 |
Andrius Štikonas
|
2ee908ec82
|
Read argument names of function-like #defines
|
2021-11-27 17:52:11 +00:00 |
Jeremiah Orians
|
5e54a3d312
|
Started stub for test1000 for self-hosting
|
2021-11-26 14:22:58 -05:00 |
Jeremiah Orians
|
7d4c9dcabb
|
Don't dump binary data to stdout
|
2021-11-23 06:48:52 -05:00 |
Andrius Štikonas
|
9d4638237c
|
Update cc_macro, cc_reader and port to M2libc.
|
2021-11-21 21:09:14 +00:00 |
Sanne Wouda
|
1ac5bb6eee
|
Initial import of functionality from M2-Planet
|
2021-01-10 09:34:10 -05:00 |