Add "return" statement
Functions may now be exited by returning a value or no value. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
%%
|
||||
fn "fn"
|
||||
return "return"
|
||||
|
||||
[\r\n;]+ "EOL"
|
||||
[a-zA-Z_][a-zA-Z0-9_]* "IDENT"
|
||||
|
||||
Reference in New Issue
Block a user