diff --git a/source/engine/grammar.ne b/source/engine/grammar.ne index 3134d05d7..e255c43ec 100644 --- a/source/engine/grammar.ne +++ b/source/engine/grammar.ne @@ -72,7 +72,7 @@ Constant -> "'" [ .'a-zA-Z\u00C0-\u017F ]:+ "'" {% d => ({ VariableFragment -> VariableWord (_ VariableWord {% d=> ' ' + d[1] %}):* {% d => d[0] + d[1].join('') %} -VariableWord -> ['a-zA-Z\u00C0-\u017F]:+ {% d => d[0].join('') %} +VariableWord -> [a-zA-Z\u00C0-\u017F] ['a-zA-Z\u00C0-\u017F]:* {% d => d[0] + d[1].join('') %} Dot -> [\.] {% d => null %}