diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-02-02 22:45:20 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-02-02 22:49:26 -0500 |
commit | 3f660a9b219b03bd5188cd4f0da9a58f507a933a (patch) | |
tree | 57162550b6c390cb0bf1ab143cee5bebda3a6ed8 /tests/dimension/directives.sh | |
parent | 80555a542f522d70fd0cb98227db005805f0c184 (diff) | |
download | dimension-3f660a9b219b03bd5188cd4f0da9a58f507a933a.tar.xz |
Support #ifdef and #ifndef.
Diffstat (limited to 'tests/dimension/directives.sh')
-rwxr-xr-x | tests/dimension/directives.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/dimension/directives.sh b/tests/dimension/directives.sh index e24a62a..198e25b 100755 --- a/tests/dimension/directives.sh +++ b/tests/dimension/directives.sh @@ -26,6 +26,9 @@ directives_exp="$(echo -n \ #local (identifier "Color") = rgb < (integer "1") , (integer "0") , (integer "1") > ; #declare (identifier "Unused") = - (integer "1") ; #undef (identifier "Unused") + #ifdef \( (identifier "Unused") \) + (identifier "Illegal") + #end #if \( #if \( (integer "1") = (integer "1") \) (integer "0") #end = (integer "0") & (integer "0") \) error (identifier "Illegal") #else |