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:04
Message-Id: 1c08db2941b827b6c768cda6e12b9727ece5168a.betelgeuse@gentoo
1 commit: 1c08db2941b827b6c768cda6e12b9727ece5168a
2 Author: Petteri Räty <petsku <AT> petteriraty <DOT> eu>
3 AuthorDate: Fri Apr 8 14:21:40 2011 +0000
4 Commit: Petteri Räty <betelgeuse <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 8 14:21:40 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/libbash.git;a=commit;h=1c08db29
7
8 Remove warnings from pipeline time handling
9
10 Reorder blank handling so that there's no more warnings.
11
12 ---
13 bashast/bashast.g | 7 ++++---
14 1 files changed, 4 insertions(+), 3 deletions(-)
15
16 diff --git a/bashast/bashast.g b/bashast/bashast.g
17 index e167f9f..fde875d 100644
18 --- a/bashast/bashast.g
19 +++ b/bashast/bashast.g
20 @@ -95,9 +95,10 @@ list_level_2
21 : list_level_1 ((BLANK!?';'!|BLANK!?'&'^|(BLANK!? EOL!)+)BLANK!? list_level_1)*;
22 pipeline
23 : var_def+
24 - | time?('!' BLANK!*)? BLANK!* command^ (BLANK!* PIPE^ BLANK!* command)*;
25 -time : TIME^ BLANK!+ timearg?;
26 -timearg : '-p' BLANK!+;
27 + | BLANK!* time? (BANG BLANK!+)? command^ (BLANK!* PIPE^ BLANK!* command)*;
28 +time : TIME^ BLANK!+ time_posix?;
29 +time_posix
30 + : '-p' BLANK!+;
31 //The structure of a command in bash
32 command
33 : EXPORT^ var_def+