Don't automatically hide singleton nodes
This commit is contained in:
parent
acf9280eda
commit
53926c467e
21 changed files with 4284 additions and 4221 deletions
|
|
@ -6,7 +6,8 @@ int x;
|
|||
|
||||
---
|
||||
|
||||
(declaration (identifier) (identifier))
|
||||
(program
|
||||
(declaration (type_name (identifier)) (declarator (identifier))))
|
||||
|
||||
==========================================
|
||||
simple functions
|
||||
|
|
@ -17,25 +18,27 @@ int main() {
|
|||
|
||||
---
|
||||
|
||||
(function_definition
|
||||
(identifier) (direct_declarator (identifier))
|
||||
(compound_statement))
|
||||
(program (function_definition
|
||||
(type_name (identifier))
|
||||
(declarator (identifier))
|
||||
(compound_statement)))
|
||||
|
||||
==========================================
|
||||
ambiguous declarations
|
||||
==========================================
|
||||
|
||||
int main() {
|
||||
int i;
|
||||
someTypeOrValue * pointerOrMultiplicand();
|
||||
float y;
|
||||
int i;
|
||||
someTypeOrValue * pointerOrMultiplicand();
|
||||
float y;
|
||||
}
|
||||
|
||||
---
|
||||
|
||||
(function_definition
|
||||
(identifier) (direct_declarator (identifier))
|
||||
(program (function_definition
|
||||
(type_name (identifier))
|
||||
(declarator (identifier))
|
||||
(compound_statement
|
||||
(declaration (identifier) (identifier))
|
||||
(declaration (identifier) (declarator (pointer) (direct_declarator (identifier))))
|
||||
(declaration (identifier) (identifier))))
|
||||
(declaration (type_name (identifier)) (declarator (identifier)))
|
||||
(declaration (type_name (identifier)) (declarator (pointer) (identifier)))
|
||||
(declaration (type_name (identifier)) (declarator (identifier))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue