polserver/testsuite/escript/condexpr/condexpr04.err
Kevin Eady 0ca7912fcd
Add support for conditional operator (#387)
* Grammar update

* AST generation

* Emit instructions

* Add initial tests

* Additional tests

* Rename to ConditionalOperator

* Add docs
2021-03-14 23:20:20 +01:00

1 line
305 B
Text

condexpr04.src:1:11: error: extraneous input 'if' expecting {'!', 'not', 'error', 'dictionary', 'struct', 'array', DECIMAL_LITERAL, HEX_LITERAL, OCT_LITERAL, BINARY_LITERAL, FLOAT_LITERAL, HEX_FLOAT_LITERAL, STRING_LITERAL, INTERPOLATED_STRING_START, '(', '{', '+', '-', '~', '@', '++', '--', IDENTIFIER}