aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorJoey Yakimowich-Payne <jyapayne@gmail.com>2020-04-19 19:18:04 -0600
committerJoey Yakimowich-Payne <jyapayne@gmail.com>2020-04-26 09:11:33 -0600
commit173e6d625c3ea96a95580303fedd011684635cc4 (patch)
tree287fb1777e67255e7e49d130205b3538f4d19696 /tests/include
parent62c68d69ee0409558a846aae3a85cf1a29f9442b (diff)
downloadnimterop-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.h6
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)