Skip to content

Commit

Permalink
Update Parser.lama
Browse files Browse the repository at this point in the history
  • Loading branch information
Smart781 authored Nov 23, 2024
1 parent b5c7bb1 commit 6913e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser.lama
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var stmt = memo $ eta syntax (
kRead x=inbr[s("("), lident, s(")")] {Read(x)} |
kWrite e=inbr[s("("), exp, s(")")] {Write(e)} |
kSkip {Skip} |
x=lident s(":=") e=exp {Assn(x, e)} |
x=lident s[":="] e=exp {Assn(x, e)} |
head = (kRead x=inbr[s("("), lident, s(")")] {Read(x)} |
kWrite e=inbr[s("("), exp, s(")")] {Write(e)} |
kSkip {Skip} |
Expand Down

0 comments on commit 6913e44

Please sign in to comment.