diff --git a/app/syntax/quot.grammar b/app/syntax/quot.grammar index b7f9d60..672e103 100644 --- a/app/syntax/quot.grammar +++ b/app/syntax/quot.grammar @@ -5,9 +5,8 @@ line { Indent* ((AutoLink | word) space*)* "\n" } @tokens { space { $[ \t] } - letter { ![ \t\n] } - word { letter+ } - Heading { (letter | space)+ } + word { ![ \t\n]+ } + Heading { ![\n]+ } Indent { space } AutoLink { ("http" | "https") "://" word } @precedence { AutoLink, word } diff --git a/app/syntax/quot.grammar.js b/app/syntax/quot.grammar.js index 3b4a690..4f8db12 100644 --- a/app/syntax/quot.grammar.js +++ b/app/syntax/quot.grammar.js @@ -9,7 +9,7 @@ export const parser = LRParser.deserialize({ maxTerm: 14, skippedNodes: [0], repeatNodeCount: 4, - tokenData: "(h~RWOXkXY!gYZ#PZpkpq!gq#[k#[#]#U#]~kVrTQP]UOXkXY!RZpkpq!Rq~kP!WTQPOX!RXY!RZp!Rpq!Rq~!RV!pTQPRQ^SOX!RXY!RZp!Rpq!Rq~!R~#UOZ~V#]VQP]UOXkXY!RZpkpq!Rq#hk#h#i#r#i~kV#yVQP]UOXkXY!RZpkpq!Rq#hk#h#i$`#i~kV$gVQP]UOXkXY!RZpkpq!Rq#dk#d#e$|#e~kV%TXQP]UOXkXY!RZpkpq!Rq![k![!]%p!]#gk#g#h'z#h~kV%wVQP]UOXkXY!RZpkpq!Rq!Pk!P!Q&^!Q~kV&eVQP]UOXkXY!RZpkpq!Rq!Pk!P!Q&z!Q~kV'RTQP]UOX'bXY!RZp'bpq!Rq~'bV'kTQPSU]UOX'bXY!RZp'bpq!Rq~'bV(RVQP]UOXkXY!RZpkpq!Rq![k![!]%p!]~k", + tokenData: "(U~RWOXkXY!^YZ!mZpkpq!^q#[k#[#]!r#]~kVrTQP]UOXkXY!RZpkpq!Rq~kP!WQQPOY!RZ~!RV!gQQPRQ^SOY!RZ~!R~!rOZ~V!yVQP]UOXkXY!RZpkpq!Rq#hk#h#i#`#i~kV#gVQP]UOXkXY!RZ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