lib/fonte/parsers/word.treetop in fonte-0.0.1 vs lib/fonte/parsers/word.treetop in fonte-0.1.0
- old
+ new
@@ -8,14 +8,18 @@
end
}
end
rule word
- (ESCAPED_QUOTE / !QUOTE .)* {
+ character* {
def value
text_value
end
}
+ end
+
+ rule character
+ (ESCAPED_QUOTE / !QUOTE .)
end
rule SPACE
" "+
end