Change-Id: I49da1387c68b2a521050b449ffe93c00d80f5e87
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
--- /dev/null
+!if 17 ff !end
+---
+1:5 - Expecting a name or `{`
--- /dev/null
+!if { } 77 !end
+---
+1:6 - Invalid expression ``: invalid syntax
--- /dev/null
+!if { [1, 2, 3] } 77 !end
+---
+1:1 - Invalid expression `[1, 2, 3]`: expecting result type `int`, not `list`
--- /dev/null
+!if {3.4} 77 !end
+---
+1:1 - Invalid expression `3.4`: expecting result type `int`, not `float`
--- /dev/null
+aa !if { 23 + zoom(14) } bb !end
+---
+1:4 - Failed to evaluate expression `23 + zoom(14)`: name 'zoom' is not defined