M2-Planet/test
Sanne Wouda 09acd6253d Implement simple macro expansion
- no longer generate CONSTANT lines for #defined constants

- "#define FOO 1" turns "return FOO;" into "return 1;"

- Macros expanding into a macro is not supported:
  #define FOO 1
  #define BAR FOO
  will expand BAR to FOO, not to 1

- Expansion inside #if conditions is not supported.

- Function-like macros are not supported.
2021-01-09 17:39:48 +00:00
..
common_aarch64 AArch64 support for unsigned comparison 2020-12-17 00:01:17 +00:00
common_amd64 Fix modulus behavior that is wrong. 2021-01-01 16:39:27 -05:00
common_armv7l armv7l support for unsigned comparisons 2020-12-15 21:09:26 -05:00
common_knight Change knight-posix HEAP behavior and leverage better relational choices for knight-posix 2020-12-15 06:02:38 -05:00
common_x86 Fix modulus behavior that is wrong. 2021-01-01 16:39:27 -05:00
test0000 Major relocation of tests to better structure for future additions 2020-02-28 18:27:12 -05:00
test0001 Major relocation of tests to better structure for future additions 2020-02-28 18:27:12 -05:00
test0002 Major relocation of tests to better structure for future additions 2020-02-28 18:27:12 -05:00
test0003 Major relocation of tests to better structure for future additions 2020-02-28 18:27:12 -05:00
test0004 Major relocation of tests to better structure for future additions 2020-02-28 18:27:12 -05:00
test0005 Major relocation of tests to better structure for future additions 2020-02-28 18:27:12 -05:00
test0006 Major relocation of tests to better structure for future additions 2020-02-28 18:27:12 -05:00
test0007 Catch potential segfaulting behavior in generated binaries 2020-11-08 21:13:12 -05:00
test0008 Implement --bootstrap-mode for preprocessor 2021-01-09 17:38:50 +00:00
test0009 Major relocation of tests to better structure for future additions 2020-02-28 18:27:12 -05:00
test0010 Implement --bootstrap-mode for preprocessor 2021-01-09 17:38:50 +00:00
test0011 Catch potential segfaulting behavior in generated binaries 2020-11-08 21:13:12 -05:00
test0012 Catch potential segfaulting behavior in generated binaries 2020-11-08 21:13:12 -05:00
test0013 Catch potential segfaulting behavior in generated binaries 2020-11-08 21:13:12 -05:00
test0014 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0015 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0016 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0017 Implement --bootstrap-mode for preprocessor 2021-01-09 17:38:50 +00:00
test0018 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0019 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0020 Implement --bootstrap-mode for preprocessor 2021-01-09 17:38:50 +00:00
test0021 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0022 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0023 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0024 Add a test for supported preprocessor features 2021-01-08 21:32:03 +00:00
test0100 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0101 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0102 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0103 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0104 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0105 First generation implemention of typedef 2021-01-02 22:00:02 -05:00
test0106 Implement --bootstrap-mode for preprocessor 2021-01-09 17:38:50 +00:00
test1000 Implement simple macro expansion 2021-01-09 17:39:48 +00:00
.gitignore Harmonized License headers and added missing license headers 2018-10-17 19:27:06 -04:00
test.answers Implement simple macro expansion 2021-01-09 17:39:48 +00:00