Commit dd6aaa09 authored by Raphaël Cauderlier's avatar Raphaël Cauderlier
Browse files

Allow underscore and digits as first character of an id

parent db2d1fff
......@@ -3,7 +3,7 @@
exception Unexpected_char of string
}
let id = [ 'a'-'z' ] ['a'-'z' 'A'-'Z' '_' '0'-'9']*
let id = [ 'a'-'z' '_' '0'-'9' ] ['a'-'z' 'A'-'Z' '_' '0'-'9']*
rule token = parse
| [ ' ' '\t' ] { token lexbuf }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment