Skip to content
Snippets Groups Projects
Commit d4a0d54a authored by Lukas Stadler's avatar Lukas Stadler
Browse files

allow greek symbols in identifiers

parent 79699c1e
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,7 @@ public class ParserGeneration {
"support for file delimiter",
"pass along TruffleRLanguage",
"convert line endings",
"handle four and more dots as identifier"
"handle four and more dots as identifier",
"allow greek characters in identifiers"
};
}
......@@ -767,7 +767,7 @@ fragment OP_NAME
| ('*'|'/'|'+'|'-'|'>'|'<'|'='|'|'|'&'|':'|'^'|'.'|'~'|','|'?')
;
fragment ID_NAME : ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'0'..'9'|'_'|'.')* ;
fragment ID_NAME : ('a'..'z'|'A'..'Z'|'α'..'ω'|'Α'..'Ω'|'_') ('a'..'z'|'A'..'Z'|'0'..'9'|'α'..'ω'|'Α'..'Ω'|'_'|'.')* ;
fragment ESC_SEQ
: '\\' ('b'|'t'|'n'|'f'|'r'|'"'|'\''|'`'|'\\'|' '|'a'|'v')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment