aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_lexer.l
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL_lexer.l')
-rw-r--r--LuaSL/src/LuaSL_lexer.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/LuaSL/src/LuaSL_lexer.l b/LuaSL/src/LuaSL_lexer.l
index 2b60634..2b57f68 100644
--- a/LuaSL/src/LuaSL_lexer.l
+++ b/LuaSL/src/LuaSL_lexer.l
@@ -19,9 +19,9 @@ HEX [[:xdigit:]]
19DECIMAL [[:digit:]] 19DECIMAL [[:digit:]]
20 /* LSL has no octal integer type. */ 20 /* LSL has no octal integer type. */
21INTEGER ({DECIMAL}+)|(0[xX]{HEX}+) 21INTEGER ({DECIMAL}+)|(0[xX]{HEX}+)
22EXPONANT [eE][+-]?{DECIMAL} 22EXPONANT [eE][+-]?{DECIMAL}+
23 /* Floats can be "0." but I don't think ".0" is valid. */ 23 /* Floats can be "0." but I don't think ".0" is valid. It might be though, need to double check that. */
24FLOAT {DECIMAL}("."{DECIMAL})?{EXPONANT}?[fF]? 24FLOAT {DECIMAL}+"."{DECIMAL}*{EXPONANT}?[fF]?
25CHAR '(\\.|[^\\'\n])+' 25CHAR '(\\.|[^\\'\n])+'
26STRING \"(\\.|[^\\"\n])*\" 26STRING \"(\\.|[^\\"\n])*\"
27IDENTIFIER [[:alpha:]](_|[[:alpha:]]|[[:digit:]])* 27IDENTIFIER [[:alpha:]](_|[[:alpha:]]|[[:digit:]])*