aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--LuaSL/src/LuaSL_lexer.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_lexer.l b/LuaSL/src/LuaSL_lexer.l
index 05134bc..8e5e4ca 100644
--- a/LuaSL/src/LuaSL_lexer.l
+++ b/LuaSL/src/LuaSL_lexer.l
@@ -19,8 +19,8 @@ DECIMAL [[:digit:]]
19 /* LSL has no octal integer type. */ 19 /* LSL has no octal integer type. */
20INTEGER ({DECIMAL}+)|(0[xX]{HEX}+) 20INTEGER ({DECIMAL}+)|(0[xX]{HEX}+)
21EXPONANT [eE][+-]?{DECIMAL}+ 21EXPONANT [eE][+-]?{DECIMAL}+
22 /* Floats can be "0." but I don't think ".0" is valid. It might be though, need to double check that. */ 22 /* Floats can be "0." or".0", but "." is not valid. At least in OpenSim. A single dot should be caught by the LSL_Dot rule first anyway.*/
23FLOAT {DECIMAL}+"."{DECIMAL}*{EXPONANT}?[fF]? 23FLOAT {DECIMAL}*"."{DECIMAL}*{EXPONANT}?[fF]?
24CHAR '(\\.|[^\\'\n])+' 24CHAR '(\\.|[^\\'\n])+'
25STRING \"(\\.|[^\\"\n])*\" 25STRING \"(\\.|[^\\"\n])*\"
26IDENTIFIER [[:alpha:]](_|[[:alpha:]]|[[:digit:]])* 26IDENTIFIER [[:alpha:]](_|[[:alpha:]]|[[:digit:]])*