1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00

Fix assignment statement diff tests

This commit is contained in:
Rick Winfrey 2017-10-24 15:49:07 -07:00
parent 6510458e16
commit 2bd9fe9e8c
2 changed files with 32 additions and 2 deletions

View File

@ -29,4 +29,19 @@
{ (Identifier)
->(Identifier) })
(Other "expression_list"
(NumberLiteral)))))
(NumberLiteral)))
(Other "var_declaration"
(VarAssignment
(Identifier)
(PointerTy
{ (Identifier)
->(Identifier) })
(Other "expression_list"
(Operator
(Other "composite_literal"
{ (Identifier)
->(Identifier) }
(Pair
{ (Identifier)
->(Identifier) }
(NumberLiteral)))))))))

View File

@ -29,4 +29,19 @@
{ (Identifier)
->(Identifier) })
(Other "expression_list"
(NumberLiteral)))))
(NumberLiteral)))
(Other "var_declaration"
(VarAssignment
(Identifier)
(PointerTy
{ (Identifier)
->(Identifier) })
(Other "expression_list"
(Operator
(Other "composite_literal"
{ (Identifier)
->(Identifier) }
(Pair
{ (Identifier)
->(Identifier) }
(NumberLiteral)))))))))