summary refs log tree commit diff
path: root/src/mystring.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-09-24 22:28:49 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2007-09-24 22:28:49 +0800
commitbb777a690c2f800f75b18bd56445c528348755f5 (patch)
tree5a1c9bf3b1d712ba486698d0434e1378f2b4cf01 /src/mystring.c
parent[PARSER] Remove superfluous dblquote settings when ending arith (diff)
downloaddash-bb777a690c2f800f75b18bd56445c528348755f5.tar.gz
dash-bb777a690c2f800f75b18bd56445c528348755f5.zip
[PARSER] Remove arithmetic expansion collapsing at parse time
Collapsing arithmethc expansion is incorrect when the inner arithmetic
expansion is a part of a parameter expansion.

Test case:

	unset a
	echo $((3 + ${a:=$((4 + 5))}))
	echo $a

Old result:

	(4 + 5)

New result:

	9
Diffstat (limited to 'src/mystring.c')
0 files changed, 0 insertions, 0 deletions
ollow=1'>Add /znc commandJune McEnroe 2019-02-22Update status line after scrolling and term eventsJune McEnroe 2019-02-22Reorganize input.cJune McEnroe 2019-02-22Fix name of <raw> window in man pageJune McEnroe 2019-02-22Rename global tags with angle bracketsJune McEnroe 2019-02-22Show status window while connectingJune McEnroe 2019-02-22Reorganize UI code for the umpteenth timeJune McEnroe 2019-02-21Replace "view" with "window"June McEnroe 2019-02-21Remove ROT13June McEnroe 2019-02-21Clean up man pageJune McEnroe 2019-01-26Draw UI before connectingJune McEnroe 2019-01-25Avoid unused variable warnings with getyxJune McEnroe 2019-01-25Add GNU/Linux build instructionsJune McEnroe