summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-20 10:58:41 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-20 10:59:51 (EST)
commit055f3e9b50882e4dba51d7dbcdcc80c1aede4d83 (patch)
tree0bef2630b21184657d0cbbdbcffd3dec7dbcf2d0
parent1ae1db5c1ff7652ef5c5077f623c0adbafd0e1dc (diff)
downloadeggshell-055f3e9b50882e4dba51d7dbcdcc80c1aede4d83.zip
eggshell-055f3e9b50882e4dba51d7dbcdcc80c1aede4d83.tar.gz
eggshell-055f3e9b50882e4dba51d7dbcdcc80c1aede4d83.tar.bz2
Fix function definition parsing
Well that was easy.
-rw-r--r--parsing/parse.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/parsing/parse.sh b/parsing/parse.sh
index eff6d66..8168c48 100644
--- a/parsing/parse.sh
+++ b/parsing/parse.sh
@@ -355,6 +355,8 @@ function_body()
ptrace_begn function_body
if compound_command; then
redirect_list
+ ptrace_pass function_body
+ return 0
fi
ptrace_fail function_body
return 1