Removed custom Character in favor of BNFC Char
This commit is contained in:
parent
b7be75aa1e
commit
22783cf817
1 changed files with 1 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ ECase. Exp ::= "case" Exp "of" "{" [Branch] "}";
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
LInt. Lit ::= Integer;
|
LInt. Lit ::= Integer;
|
||||||
LChar. Lit ::= Character;
|
LChar. Lit ::= Char;
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
-- * PATTERN MATCHING
|
-- * PATTERN MATCHING
|
||||||
|
|
@ -88,7 +88,6 @@ coercions Pattern 1;
|
||||||
coercions Exp 4;
|
coercions Exp 4;
|
||||||
coercions Type 1 ;
|
coercions Type 1 ;
|
||||||
|
|
||||||
token Character '\''(char)'\'' ;
|
|
||||||
token UIdent (upper (letter | digit | '_')*) ;
|
token UIdent (upper (letter | digit | '_')*) ;
|
||||||
token LIdent (lower (letter | digit | '_')*) ;
|
token LIdent (lower (letter | digit | '_')*) ;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue