summaryrefslogtreecommitdiffstats
path: root/parsing/parse.sh
diff options
context:
space:
mode:
Diffstat (limited to 'parsing/parse.sh')
-rw-r--r--parsing/parse.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/parsing/parse.sh b/parsing/parse.sh
index ff6b5ad..1f638e0 100644
--- a/parsing/parse.sh
+++ b/parsing/parse.sh
@@ -401,6 +401,7 @@ parse()
# If this returns (does not exit), there are no errors.
while complete_command; do :; done
+ expect T_EOF
get_tokens
@@ -441,4 +442,4 @@ try()
#try 'foo &&'
#try '{ foo ; }'
#try '( foo )'
-try 'for i in 1 2 3 ; do stuff ; done'
+try 'for i in 1 2 3; do stuff; done'