From c11c0196d564729a43c18285c565baa4079c5e02 Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Tue, 10 Jun 2014 00:42:07 -0700 Subject: [PATCH] Fixed broken parsing of <( in arithmetics --- ShellCheck/Parser.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellCheck/Parser.hs b/ShellCheck/Parser.hs index adde1a0..9a63685 100644 --- a/ShellCheck/Parser.hs +++ b/ShellCheck/Parser.hs @@ -469,6 +469,7 @@ prop_aD = isOk readArithmeticContents "foo[9*y+x]++" prop_aE = isOk readArithmeticContents "1+`echo 2`" prop_aF = isOk readArithmeticContents "foo[`echo foo | sed s/foo/4/g` * 3] + 4" prop_a10= isOk readArithmeticContents "$foo$bar" +prop_a11= isOk readArithmeticContents "i<(0+(1+1))" readArithmeticContents = readSequence where @@ -510,7 +511,6 @@ readArithmeticContents = readNormalDollar, readBraced, readBackTicked, - readProcSub, readNormalLiteral "+-*/=%^,]" ] spacing