Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Fix the implementation of the ?: $(( )) operator. It...
details: https://anonhg.NetBSD.org/src/rev/33441b357608
branches: trunk
changeset: 345202:33441b357608
user: kre <kre%NetBSD.org@localhost>
date: Thu May 12 13:05:18 2016 +0000
description:
Fix the implementation of the ?: $(( )) operator. It is right associative...
ok christos@
diffstat:
bin/sh/arith.y | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 9b972e8f3aa6 -r 33441b357608 bin/sh/arith.y
--- a/bin/sh/arith.y Thu May 12 12:51:53 2016 +0000
+++ b/bin/sh/arith.y Thu May 12 13:05:18 2016 +0000
@@ -1,5 +1,5 @@
%{
-/* $NetBSD: arith.y,v 1.24 2016/03/16 15:43:38 christos Exp $ */
+/* $NetBSD: arith.y,v 1.25 2016/05/12 13:05:18 kre Exp $ */
/*-
* Copyright (c) 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)arith.y 8.3 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: arith.y,v 1.24 2016/03/16 15:43:38 christos Exp $");
+__RCSID("$NetBSD: arith.y,v 1.25 2016/05/12 13:05:18 kre Exp $");
#endif
#endif /* not lint */
@@ -65,7 +65,7 @@
%}
%token ARITH_NUM ARITH_LPAREN ARITH_RPAREN
-%left ARITH_QM ARITH_COLON
+%right ARITH_QM ARITH_COLON
%left ARITH_OR
%left ARITH_AND
%left ARITH_BOR
Home |
Main Index |
Thread Index |
Old Index