mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-07 07:18:48 +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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
let version = "Version 1.00, 7748144a8, Fri Apr 10 03:15:18 2020 +0300"
|
||||
let version = "Version 1.00, 690825f54, Sat Apr 11 21:09:51 2020 +0300"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue