Jeremiah Orians
|
bb91487335
Remove -Wstrict-prototypes warnings
|
7 miesięcy temu |
Andrius Štikonas
|
b908dac7c5
Fix macro processing when they have brackets.
|
1 rok temu |
Jeremiah Orians
|
286964d5f8
Properly remove blocks that aren't executed
|
2 lat temu |
Jeremiah Orians
|
62c6f6c80e
Catching another segfault
|
2 lat temu |
Jeremiah Orians
|
c50dcade62
Even more segfaults
|
2 lat temu |
Jeremiah Orians
|
fba6dffb66
Fix checksums and add support for #warning
|
2 lat temu |
Jeremiah Orians
|
406d0856df
Backport macro functionality to better handle nested #if statements
|
2 lat temu |
Andrius Štikonas
|
575f91cac1
Fix typos / add copyright.
|
3 lat temu |
Jeremiah Orians
|
6d4d6c56ea
Catch the special case of attempting to remove a NULL macro token
|
3 lat temu |
Jeremiah Orians
|
cdb09b1608
Catch trying to expand nulls
|
3 lat temu |
Jeremiah Orians
|
ff65efa99e
Catch lookup_macro being passed NULL
|
3 lat temu |
Jeremiah Orians
|
876ebe7c68
catch half broken #define (statements
|
3 lat temu |
Jeremiah Orians
|
9997d7a275
catch garbage at the end of a #define
|
3 lat temu |
Andrius Štikonas
|
2da7b3f9a0
Implement #undef.
|
3 lat temu |
Andrius Štikonas
|
de8f47fa9c
Add support for evaluating macro variables.
|
3 lat temu |
Andrius Štikonas
|
7de9e684a6
Implement #error statement in preprocessor.
|
3 lat temu |
Andrius Štikonas
|
7a7bfd4529
Implement #ifdef and #ifndef.
|
3 lat temu |
Andrius Štikonas
|
945743e2c6
Add support for empty defines.
|
3 lat temu |
Jeremiah Orians
|
d8fb878d7a
Correct #define behavior inside of #if/#elif/#else/#endif blocks
|
3 lat temu |
Jeremiah Orians
|
55929d4ddf
Catch segfault for half defined #defines and provide a warning for #unkowns
|
3 lat temu |
Jeremiah Orians
|
d80d8a652b
Move more functionality into M2libc
|
3 lat temu |
Jeremiah Orians
|
46cf81af83
Replace file_print with fputs
|
3 lat temu |
Jeremiah Orians
|
8007ae9ce6
Add support for #if defined(__M2__) to enable M2-Planet specific functionality
|
3 lat temu |
Sanne Wouda
|
09acd6253d
Implement simple macro expansion
|
3 lat temu |
Sanne Wouda
|
a8551f2fcd
Implement --bootstrap-mode for preprocessor
|
3 lat temu |
Sanne Wouda
|
4550eec19e
Extend macro #define support
|
3 lat temu |
Jeremiah Orians
|
3c4c09b95e
Added hacky version of #define support
|
3 lat temu |
Jeremiah Orians
|
25fd5e66c9
Another set of segfaults cleared out
|
3 lat temu |
Jeremiah Orians
|
bdd4e65580
Catch some basic segfaults
|
3 lat temu |
Jeremiah Orians
|
0ab7cb78eb
Adjusted cc_macro.c formatting with astyle -A1tSxejz2fpUxV
|
3 lat temu |