diff options
| author | Joey Yakimowich-Payne <jyapayne@gmail.com> | 2020-04-19 19:18:04 -0600 |
|---|---|---|
| committer | Joey Yakimowich-Payne <jyapayne@gmail.com> | 2020-04-26 09:11:33 -0600 |
| commit | 173e6d625c3ea96a95580303fedd011684635cc4 (patch) | |
| tree | 287fb1777e67255e7e49d130205b3538f4d19696 /tests/include | |
| parent | 62c68d69ee0409558a846aae3a85cf1a29f9442b (diff) | |
| download | nimterop-173e6d625c3ea96a95580303fedd011684635cc4.tar.gz nimterop-173e6d625c3ea96a95580303fedd011684635cc4.zip | |
Add string and char support
Update some comments
Rename exprparser main proc
Don't export parse procs
Add missing utils module
Try to fix array type test
Try fix cast test error
Disable cast test for now
Revert back comment test. Have to figure out how to test without vm
Diffstat (limited to 'tests/include')
| -rw-r--r-- | tests/include/tast2.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h index 7e15ac0..3c6148a 100644 --- a/tests/include/tast2.h +++ b/tests/include/tast2.h @@ -23,6 +23,12 @@ extern "C" { #define BOOL true #define MATHEXPR (1 + 2/3*20 - 100) #define ANDEXPR (100 & 11000) +#define CASTEXPR (int) 34 + +#define NULLCHAR '\0' +#define OCTCHAR '\012' +#define HEXCHAR '\xFE' +#define TRICKYSTR "\x4E\034\nfoo\0\'\"\r\v\a\b\e\f\t\\\?bar" #define ALLSHL (SHL1 | SHL2 | SHL3) |
