Gentoo Archives: gentoo-commits

From: "Petteri Räty" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/libbash:master commit in: bashast/
Date: Sat, 09 Apr 2011 06:28:09
Message-Id: 65ce12f8726ace389fb49b479c4a142eeec8eeeb.betelgeuse@gentoo
1 commit: 65ce12f8726ace389fb49b479c4a142eeec8eeeb
2 Author: Petteri Räty <petsku <AT> petteriraty <DOT> eu>
3 AuthorDate: Fri Apr 8 14:43:30 2011 +0000
4 Commit: Petteri Räty <betelgeuse <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 06:13:46 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/libbash.git;a=commit;h=65ce12f8
7
8 Remove antlr warnings for process_substitution
9
10 ---
11 bashast/bashast.g | 2 +-
12 1 files changed, 1 insertions(+), 1 deletions(-)
13
14 diff --git a/bashast/bashast.g b/bashast/bashast.g
15 index c20cef4..0580b26 100644
16 --- a/bashast/bashast.g
17 +++ b/bashast/bashast.g
18 @@ -485,7 +485,7 @@ arithmetic_condition
19 arithmetic_assignment
20 : (name BLANK!* (EQUALS|MUL_ASSIGN|DIVIDE_ASSIGN|MOD_ASSIGN|PLUS_ASSIGN|MINUS_ASSIGN|LSHIFT_ASSIGN|RSHIFT_ASSIGN|AND_ASSIGN|XOR_ASSIGN|OR_ASSIGN)^ BLANK!*)? logicor;
21 process_substitution
22 - : (dir=LESS_THAN|dir=GREATER_THAN)LPAREN BLANK* clist BLANK* RPAREN -> ^(PROCESS_SUBSTITUTION $dir clist);
23 + : (dir=LESS_THAN|dir=GREATER_THAN)LPAREN clist BLANK* RPAREN -> ^(PROCESS_SUBSTITUTION $dir clist);
24 //the biggie: functions
25 function: FUNCTION BLANK+ name (BLANK* parens)? wspace compound_command redirect* -> ^(FUNCTION name compound_command redirect*)
26 | name BLANK* parens wspace compound_command redirect* -> ^(FUNCTION["function"] name compound_command redirect*);