aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-06-04 18:14:13 +0800
committerMu Qiao <qiaomuf@gentoo.org>2011-06-09 16:38:53 +0800
commit9bf638ee90ebcfced60a9588228df11cc26813ad (patch)
tree8c8551eada3fcf82b03b2ec2165cd3933479d021 /bashast/gunit/arith_main.gunit
parentParser: improve variable expansion value handling (diff)
downloadlibbash-9bf638ee90ebcfced60a9588228df11cc26813ad.tar.gz
libbash-9bf638ee90ebcfced60a9588228df11cc26813ad.tar.bz2
libbash-9bf638ee90ebcfced60a9588228df11cc26813ad.zip
Parser: support != in arithmetic expansion
Diffstat (limited to 'bashast/gunit/arith_main.gunit')
-rw-r--r--bashast/gunit/arith_main.gunit1
1 files changed, 1 insertions, 0 deletions
diff --git a/bashast/gunit/arith_main.gunit b/bashast/gunit/arith_main.gunit
index b462450..2a440fc 100644
--- a/bashast/gunit/arith_main.gunit
+++ b/bashast/gunit/arith_main.gunit
@@ -80,6 +80,7 @@ shifts:
compare:
"17" ->"17"
"19<20" -> (< 19 20)
+"19!=20" -> (NOT_EQUALS 19 20)
bitwiseand:
"17" -> "17"