local function definition via let
This commit is contained in:
parent
e23d8257d0
commit
a6282c00eb
5 changed files with 103 additions and 100 deletions
src
|
@ -57,6 +57,7 @@ where It: Iterator<Item = char>
|
|||
match sym.as_str() {
|
||||
"!" => {
|
||||
tokens.next();
|
||||
// todo accept address-expression instead of symbol
|
||||
let name = parse_symbol(tokens)?;
|
||||
let val_expr = parse_expr(tokens)?;
|
||||
let _ = parse_expect(tokens, LTIRToken::StatementSep)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue