diff options
author | Nathan Eloe <powerofazure@gmail.com> | 2010-07-05 14:07:03 -0500 |
---|---|---|
committer | Nathan Eloe <powerofazure@gmail.com> | 2010-07-07 16:19:08 -0500 |
commit | de542d2e579b9389e95dcbd167d80003b758388e (patch) | |
tree | b459f7feab297c139c9795f7a5ffc67f2d16d9b1 /bashast/gunit/function.gunit | |
parent | Single quote support in fname (diff) | |
download | libbash-de542d2e579b9389e95dcbd167d80003b758388e.tar.gz libbash-de542d2e579b9389e95dcbd167d80003b758388e.tar.bz2 libbash-de542d2e579b9389e95dcbd167d80003b758388e.zip |
Fixes: Multiple nodes as head, var defs, strings
Fixes the following errors that came up during timebox testing:
Multiple nodes at head of tree
Variable definitions (setting variables equal to other variables, array vars)
Missing characters in strings that made comments unstable.
Diffstat (limited to 'bashast/gunit/function.gunit')
-rw-r--r-- | bashast/gunit/function.gunit | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bashast/gunit/function.gunit b/bashast/gunit/function.gunit index 1d9bc1e..0d6861c 100644 --- a/bashast/gunit/function.gunit +++ b/bashast/gunit/function.gunit @@ -3,10 +3,10 @@ gunit bashast; function: "function quit { exit -}" -> (function quit (CURRSHELL exit)) +}" -> (function quit (CURRSHELL (LIST exit))) "function quit{ exit; }" FAIL "function quit { exit }" FAIL -"function quit { exit; }" -> (function quit (CURRSHELL exit)) -"function foo() { :; }" -> (function foo (CURRSHELL :)) -"foo() { :; }" -> (function foo (CURRSHELL :)) +"function quit { exit; }" -> (function quit (CURRSHELL (LIST exit))) +"function foo() { :; }" -> (function foo (CURRSHELL (LIST :))) +"foo() { :; }" -> (function foo (CURRSHELL (LIST :))) |