aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bashast/bashast.g')
-rw-r--r--bashast/bashast.g2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashast/bashast.g b/bashast/bashast.g
index c6d7f34..c836047 100644
--- a/bashast/bashast.g
+++ b/bashast/bashast.g
@@ -471,7 +471,7 @@ scope {
: (
(LPAREN) => LPAREN { ++$builtin_variable_definition_item::parens; }
|(RPAREN) => RPAREN { --$builtin_variable_definition_item::parens; }
- |(~EOL) => expansion_base
+ |(~(EOL|SEMIC)) => expansion_base
| {LA(1) == EOL && $builtin_variable_definition_item::parens > 0}? => EOL
)+;