summaryrefslogtreecommitdiff
path: root/src/Transfer/Core/Lex.x
diff options
context:
space:
mode:
Diffstat (limited to 'src/Transfer/Core/Lex.x')
-rw-r--r--src/Transfer/Core/Lex.x4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Transfer/Core/Lex.x b/src/Transfer/Core/Lex.x
index ed07c70bd..92fb9bdae 100644
--- a/src/Transfer/Core/Lex.x
+++ b/src/Transfer/Core/Lex.x
@@ -15,7 +15,7 @@ $d = [0-9] -- digit
$i = [$l $d _ '] -- identifier character
$u = [\0-\255] -- universal: any character
-@rsyms = -- reserved words consisting of special symbols
+@rsyms = -- symbols and non-identifier-like reserved words
\; | \: | \{ | \} | \= | \( | \) | \_ | \| | \- \> | \\ | \.
:-
@@ -41,7 +41,7 @@ share :: String -> String
share = id
data Tok =
- TS !String -- reserved words
+ TS !String -- reserved words and symbols
| TL !String -- string literals
| TI !String -- integer literals
| TV !String -- identifiers