diff options
author | Mu Qiao <qiaomuf@gentoo.org> | 2012-02-29 16:08:04 +0800 |
---|---|---|
committer | Mu Qiao <qiaomuf@gentoo.org> | 2012-02-29 16:08:04 +0800 |
commit | d418891be2a8428a4b1edc82a7b964b0c6b34d6e (patch) | |
tree | 6767b406f21a4f98a924e8d5aba92b52a43d6523 /bashast | |
parent | Parser&Walker: allow multiple arithmetic expressions (diff) | |
download | libbash-d418891be2a8428a4b1edc82a7b964b0c6b34d6e.tar.gz libbash-d418891be2a8428a4b1edc82a7b964b0c6b34d6e.tar.bz2 libbash-d418891be2a8428a4b1edc82a7b964b0c6b34d6e.zip |
Parser: allow double quotes in arithmetic expression
Diffstat (limited to 'bashast')
-rw-r--r-- | bashast/bashast.g | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bashast/bashast.g b/bashast/bashast.g index ded2fab..0be9b46 100644 --- a/bashast/bashast.g +++ b/bashast/bashast.g @@ -1005,7 +1005,7 @@ primary | arithmetic_expansion | LPAREN! (arithmetics) RPAREN!; pre_post_primary - : primary; + : DQUOTE!? primary DQUOTE!?; post_inc_dec : pre_post_primary ((BLANK) => BLANK)? ( |