mirror of
https://github.com/ProgramSnail/Lama.git
synced 2026-01-01 03:28:19 +00:00
Fixed syntac for syntax
This commit is contained in:
parent
690825f540
commit
4386e6cfd0
4 changed files with 8 additions and 8 deletions
|
|
@ -828,7 +828,7 @@ module Expr =
|
|||
| Some `Rep -> Call (Var "rep" , [s])
|
||||
| Some `Rep0 -> Call (Var "rep0", [s])
|
||||
};
|
||||
syntaxPrimary[infix]: l:$ p:LIDENT args:(-"(" !(Util.list0)[parse infix Val] -")")* {
|
||||
syntaxPrimary[infix]: l:$ p:LIDENT args:(-"[" !(Util.list0)[parse infix Val] -"]")* {
|
||||
Loc.attach p l#coord;
|
||||
List.fold_left (fun acc args -> Call (acc, args)) (Var p) args
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue