From 5e4c7f42454f12761a95241a03e6b36a46df2283 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Sun, 5 Jan 2014 11:48:01 +0200 Subject: Fix parens for property access -- (foo, bar)["baz"] --- lib/output.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/output.js b/lib/output.js index 9ed155b4..0c339c44 100644 --- a/lib/output.js +++ b/lib/output.js @@ -463,7 +463,7 @@ function OutputStream(options) { || p instanceof AST_Unary // !(foo, bar, baz) || p instanceof AST_Binary // 1 + (2, 3) + 4 ==> 8 || p instanceof AST_VarDef // var a = (1, 2), b = a + a; ==> b == 4 - || p instanceof AST_Dot // (1, {foo:2}).foo ==> 2 + || p instanceof AST_PropAccess // (1, {foo:2}).foo or (1, {foo:2})["foo"] ==> 2 || p instanceof AST_Array // [ 1, (2, 3), 4 ] ==> [ 1, 3, 4 ] || p instanceof AST_ObjectProperty // { foo: (1, 2) }.foo ==> 2 || p instanceof AST_Conditional /* (false, true) ? (a = 10, b = 20) : (c = 30) -- cgit v1.2.3 b right'>
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/fifo-map-fix-flags-for-gcc.patch
AgeCommit message (Expand)Author
2018-05-28gnu: Add fifo-map....* gnu/packages/cpp.scm (fifo-map): New variable. * gnu/packages/patches/fifo-map-fix-flags-for-gcc.patch: New file. * gnu/packages/patches/fifo-map-remove-catch.hpp.patch: New file. * gnu/local.mk: Add new patch files. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Fis Trivial