|
Note:
- Columns for $ and ) are identical
(except shift instead of accept)
- Columns for num and ( are identical.
- Rows for $ and ( and op are
identical.
- Mismatched parenthesis errors fall into two
categories:
Stack | Rest of Expression | Error Condition
| $ N | ) ... $ | Unmatched Right Paren
| $ ( N | $ | Unmatched Left Paren
|
|