grammar: remove shim again
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
This commit is contained in:
@@ -33,7 +33,6 @@ block {
|
||||
(block
|
||||
(identifier)
|
||||
(block_start)
|
||||
(body)
|
||||
(comment)
|
||||
(block_end))))
|
||||
|
||||
@@ -55,8 +54,8 @@ block {
|
||||
(block
|
||||
(identifier)
|
||||
(block_start)
|
||||
(comment)
|
||||
(body
|
||||
(comment)
|
||||
(attribute
|
||||
(identifier)
|
||||
(expression
|
||||
@@ -80,8 +79,8 @@ block {
|
||||
(block
|
||||
(identifier)
|
||||
(block_start)
|
||||
(comment)
|
||||
(body
|
||||
(comment)
|
||||
(attribute
|
||||
(identifier)
|
||||
(expression
|
||||
@@ -153,5 +152,4 @@ comment at end of file
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
(config_file
|
||||
(body)
|
||||
(comment))
|
||||
|
||||
27
test/corpus/json.txt
Normal file
27
test/corpus/json.txt
Normal file
@@ -0,0 +1,27 @@
|
||||
================================================================================
|
||||
top level object
|
||||
================================================================================
|
||||
|
||||
{
|
||||
"foo": "bar"
|
||||
}
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
(config_file
|
||||
(object
|
||||
(object_start)
|
||||
(object_elem
|
||||
(expression
|
||||
(literal_value
|
||||
(string_lit
|
||||
(quoted_template_start)
|
||||
(template_literal)
|
||||
(quoted_template_end))))
|
||||
(expression
|
||||
(literal_value
|
||||
(string_lit
|
||||
(quoted_template_start)
|
||||
(template_literal)
|
||||
(quoted_template_end)))))
|
||||
(object_end)))
|
||||
Reference in New Issue
Block a user