fmt tests; properly define string literals; work on scanner
This commit is contained in:
@@ -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))))))))
|
||||
|
||||
Reference in New Issue
Block a user