allow for utf8 names
authorMatthias Kramm <kramm@quiss.org>
Fri, 27 Nov 2009 06:02:31 +0000 (22:02 -0800)
committerMatthias Kramm <kramm@quiss.org>
Fri, 27 Nov 2009 06:02:31 +0000 (22:02 -0800)
lib/as3/tokenizer.lex

index 9f38988..4e0495d 100644 (file)
@@ -514,8 +514,8 @@ static int tokenerror();
 %x XMLTEXT
 %x XML
 
-NAME    [a-zA-Z_][a-zA-Z0-9_\\]*
-_        [^a-zA-Z0-9_\\]
+NAME    [a-zA-Z_\x80-\xff][a-zA-Z0-9_\\\x80-\xff]*
+_        [^a-zA-Z0-9_\\\x80-\xff]
 
 HEXINT    0x[a-zA-Z0-9]+
 HEXFLOAT  0x[a-zA-Z0-9]*\.[a-zA-Z0-9]*