some error message trimming done
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
return ##ERROR: syntax error - no value specified for 'return'
|
||||
|
||||
---
|
||||
|
||||
return 1 2 ##ERROR: syntax error - excessive argument to 'return' around '2'
|
||||
|
||||
---
|
||||
@ -61,6 +65,14 @@ if (< 20 30) else { ##ERROR: syntax error - block expression expected as 'if' bo
|
||||
}
|
||||
|
||||
|
||||
---
|
||||
|
||||
elif (< 20 30) { } ##ERROR: syntax error - elif without if
|
||||
|
||||
---
|
||||
|
||||
else (< 20 30) { } ##ERROR: syntax error - else without if
|
||||
|
||||
---
|
||||
|
||||
catch (e) {} ##ERROR: syntax error - catch without try
|
||||
|
||||
Reference in New Issue
Block a user