trying to fix numbers inside of words
This commit is contained in:
parent
29ee46c071
commit
e098c75213
|
@ -255,7 +255,7 @@ Boolean { reserved<"true"> | reserved<"false"> }
|
|||
Nil { silent<"nil"> }
|
||||
|
||||
@tokens {
|
||||
Word { $[a-z] $[a-zA-Z_\-?/!]* }
|
||||
Word { $[a-z] $[a-zA-Z0-9_\-?/!]* }
|
||||
Keyword { ":" Word }
|
||||
Comment { "&" ![\n]* }
|
||||
String { '"' (!["\\] | "\\" _)* '"' }
|
||||
|
|
|
@ -10,7 +10,7 @@ export const parser = LRParser.deserialize({
|
|||
maxTerm: 122,
|
||||
skippedNodes: [0,1],
|
||||
repeatNodeCount: 18,
|
||||
tokenData: ",d~RkXY!vYZ#U]^!vpq!vrs#Zst$wtu%Svw%_xy%vyz%{|}&Q}!O&V!O!P'Z!Q!R&c!R![&y![!]'l!]!^(^!_!`(c!`!a(h!}#O(m#P#Q(r#R#S(w#T#k(|#k#l)h#l#o(|#o#p,Y#q#r,_~!{R!g~XY!v]^!vpq!v~#ZO!h~~#^VOr#Zrs#ss#O#Z#O#P#x#P;'S#Z;'S;=`$q<%lO#Z~#xOW~~#{RO;'S#Z;'S;=`$U;=`O#Z~$XWOr#Zrs#ss#O#Z#O#P#x#P;'S#Z;'S;=`$q;=`<%l#Z<%lO#Z~$tP;=`<%l#Z~$zP#o#p$}~%SO!z~~%VP#o#p%Y~%_O!x~~%dSP~OY%_Z;'S%_;'S;=`%p<%lO%_~%sP;=`<%l%_~%{O!q~~&QO!s~~&VO!r~~&YR!Q!R&c!R![&y!`!a'U~&hPX~!O!P&k~&nP!Q![&q~&vPX~!Q![&q~'OQX~!O!P&k!Q![&y~'ZO#S~~'^P!O!P'a~'dP!O!P'g~'lO!v~~'oP#T#o'r~'wVY~qr'r}!O'r!P!Q'r!a!b'r!c!}'r#R#S'r#T#o'r~(cO!i~~(hO#[~~(mO#b~~(rO!t~~(wO!w~~(|O#Q~P)RVSPqr(|}!O(|!P!Q(|!a!b(|!c!}(|#R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