|
|
@ -49,6 +49,25 @@ int main() { |
|
|
(compound_statement |
|
|
(compound_statement |
|
|
(expression_statement (call_expression (identifier) (string_literal) (identifier)))))) |
|
|
(expression_statement (call_expression (identifier) (string_literal) (identifier)))))) |
|
|
|
|
|
|
|
|
|
|
|
============================================ |
|
|
|
|
|
String literals |
|
|
|
|
|
============================================ |
|
|
|
|
|
|
|
|
|
|
|
int main() { |
|
|
|
|
|
"a"; |
|
|
|
|
|
"b" "c" "d"; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
|
|
|
|
|
|
|
(translation_unit |
|
|
|
|
|
(function_definition |
|
|
|
|
|
(identifier) |
|
|
|
|
|
(function_declarator (identifier)) |
|
|
|
|
|
(compound_statement |
|
|
|
|
|
(expression_statement (string_literal)) |
|
|
|
|
|
(expression_statement (concatenated_string (string_literal) (string_literal) (string_literal)))))) |
|
|
|
|
|
|
|
|
============================================ |
|
|
============================================ |
|
|
Character literals |
|
|
Character literals |
|
|
============================================ |
|
|
============================================ |
|
|
|