From c8d07027c89d36a5a3981196a19d48a9286127a8 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 19 Dec 2010 17:42:09 +0000 Subject: 28537: fix word splitting on "((" when it was nested subshells rather than arithmetic --- Src/lex.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Src/lex.c') diff --git a/Src/lex.c b/Src/lex.c index 3d70c5bbf..2988b41cb 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -885,6 +885,11 @@ gettok(void) return DINPAR; case 0: + /* + * Not math, so we don't return the contents + * as a string in this case. + */ + tokstr = NULL; return INPAR; default: -- cgit 1.4.1