fmt tests; properly define string literals; work on scanner

This commit is contained in:
mhoffm
2021-06-17 19:39:46 +02:00
parent 4801d16825
commit 88401e3bf3
20 changed files with 8036 additions and 5094 deletions

View File

@@ -1,10 +1,10 @@
==================
================================================================================
simple conditional expression
==================
================================================================================
foo = predicate() ? 1: 2
---
--------------------------------------------------------------------------------
(config_file
(body
@@ -12,7 +12,12 @@ foo = predicate() ? 1: 2
(identifier)
(expression
(conditional
(expression (expr_term (function_call (identifier))))
(expression (expr_term (literal_value (numeric_lit))))
(expression (expr_term (literal_value (numeric_lit)))))))))
(expression
(function_call
(identifier)))
(expression
(literal_value
(numeric_lit)))
(expression
(literal_value
(numeric_lit))))))))