Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/alexer.mll
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ and token = parse
{ [ ST (`Num (int_of_string num), lab, String.length dots) ] }

| (","|"."|"_"|"("|")"|"["|"]"|"{"|"}"|"<<"|">>"|"]_"|">>_"|"=="|"!"
|"@"|":"|"::"|";"|"->"|"<-"|"|->"|"\\A"|"\\AA"|"\\E"|"\\EE"|'_' as p)
|"@"|":"|"::"|";"|"->"|"<-"|"|->"|"\\A"|"\\AA"|"\\E"|"\\EE"|'_'
|"\\forall"|"\\exists" as p)
{ [ PUNCT p ] }

(* numbers *)
Expand Down
2 changes: 2 additions & 0 deletions src/expr/e_parser.ml
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,8 @@ and complex_expr b = lazy begin
locate begin
choice [ punct "\\A" <!> Forall ;
punct "\\E" <!> Exists ;
punct "\\forall" <!> Forall ;
punct "\\exists" <!> Exists ;
]
<**> (quantifier_boundeds b)
<**> (colon_expr b)
Expand Down
3 changes: 0 additions & 3 deletions test/parser/parser_tests.ml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ let expect_failure (test : syntax_test) : bool =
"Conjlist with RECURSIVE in LET/IN";
"Disjlist with RECURSIVE in LET/IN";

(* https://github.com/tlaplus/tlapm/issues/160 *)
"Verbose Bounded Quantification";

(* https://github.com/tlaplus/tlapm/issues/161 *)
"Infix Minus as Parameter";
"Prefix Operator References";
Expand Down