This commit is contained in:
@ -27,11 +27,11 @@ if (< 2 3) {} elif true else ##ERROR: syntax error - block expression expected
|
||||
|
||||
---
|
||||
|
||||
if else ##ERROR: syntax error - prohibited in this context - else
|
||||
if else ##ERROR: syntax error - 'else' prohibited in this context
|
||||
|
||||
---
|
||||
|
||||
if elif else ##ERROR: syntax error - prohibited in this context - elif
|
||||
if elif else ##ERROR: syntax error - 'elif' prohibited in this context
|
||||
|
||||
---
|
||||
|
||||
|
@ -130,7 +130,7 @@ printf "%O\n" 35rabcdefghijklzabcd ##ERROR: syntax error - invalid numeric lite
|
||||
|
||||
---
|
||||
|
||||
printf :*; ##ERROR: syntax error - prohibited in this context
|
||||
printf if; ##ERROR: syntax error - 'if' prohibited in this context
|
||||
|
||||
---
|
||||
|
||||
@ -140,7 +140,7 @@ fun :: fun1() { ##ERROR: syntax error - invalid function name '::' for 'fun'
|
||||
|
||||
---
|
||||
|
||||
fun :* fun1() { ##ERROR: syntax error - invalid function name ':*' for 'fun'
|
||||
fun fun fun1() { ##ERROR: syntax error - invalid function name 'fun' for 'fun'
|
||||
return 10;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user