summaryrefslogtreecommitdiff
path: root/devel/compiler/Tgt.cf
diff options
context:
space:
mode:
Diffstat (limited to 'devel/compiler/Tgt.cf')
-rw-r--r--devel/compiler/Tgt.cf4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/compiler/Tgt.cf b/devel/compiler/Tgt.cf
index a61c0bf74..f44184a52 100644
--- a/devel/compiler/Tgt.cf
+++ b/devel/compiler/Tgt.cf
@@ -2,7 +2,7 @@
Tg. Object ::= [Fun] ;
-FVal. Fun ::= Ident "=" Val ;
+FVal. Fun ::= Id "=" Val ;
terminator Fun ";" ;
@@ -14,3 +14,5 @@ VPar. Val ::= Integer ;
VCat. Val ::= "(" Val Val ")" ;
terminator Val "," ;
+
+token Id (letter | '_') (letter | digit | '_' | '\'')* ;