17 lines
No EOL
442 B
Text
17 lines
No EOL
442 B
Text
=====================================================
|
|
recovers from errors at the top level
|
|
=====================================================
|
|
x * * y
|
|
---
|
|
(ERROR)
|
|
|
|
=====================================================
|
|
recovers from errors inside parenthesized expressions
|
|
=====================================================
|
|
x + (y * + z) * 5
|
|
---
|
|
(expression (sum
|
|
(variable)
|
|
(product
|
|
(grouping (ERROR))
|
|
(number)))) |