Posted to tcl by patthoyts at Wed Nov 07 02:49:23 GMT 2007view raw
- ==== if-1.4 else is only allowed with curly braces FAILED
- ==== Contents of test case:
- #lang L
- main(void)
- {
- if (0) puts("1 broken"); else puts("1 even more broken");
- }
- #lang tcl
- ---- Result was:
- C:/src/L/tests/l-core.test:3: L Error: parse error
- ---- Result should have been (glob matching):
- *3: L Error: syntax error, unexpected T_ELSE
- ==== if-1.4 FAILED
- l-regression.test