21 lines
408 B
Text
21 lines
408 B
Text
=====================================================
|
|
errors at the top level
|
|
=====================================================
|
|
|
|
x * * y
|
|
|
|
---
|
|
|
|
(variable) (ERROR '*')
|
|
|
|
=====================================================
|
|
errors inside parenthesized expressions
|
|
=====================================================
|
|
|
|
x + (y * + z) * 5
|
|
|
|
---
|
|
|
|
(sum
|
|
(variable)
|
|
(product (group (ERROR '+')) (number)))
|