From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QapXa-0001EH-Rz for garchives@archives.gentoo.org; Sun, 26 Jun 2011 13:38:22 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 505C91C049; Sun, 26 Jun 2011 13:38:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1BCA41C049 for ; Sun, 26 Jun 2011 13:38:13 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A63BE1B402E for ; Sun, 26 Jun 2011 13:38:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id A7DE78003C for ; Sun, 26 Jun 2011 13:38:11 +0000 (UTC) From: "Petteri Räty" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petteri Räty" Message-ID: <46739350a7fc7dcd2b912742acd3b3e40655c277.betelgeuse@gentoo> Subject: [gentoo-commits] proj/libbash:master commit in: bashast/ X-VCS-Repository: proj/libbash X-VCS-Files: bashast/bashast.g X-VCS-Directories: bashast/ X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: 46739350a7fc7dcd2b912742acd3b3e40655c277 Date: Sun, 26 Jun 2011 13:38:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 32a4a57c37458934bc1f257ac5754dc1 commit: 46739350a7fc7dcd2b912742acd3b3e40655c277 Author: Mu Qiao gentoo org> AuthorDate: Thu Jun 16 05:04:56 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Thu Jun 16 05:04:56 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D46739350 Parser: remove the here_string_op rule --- bashast/bashast.g | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/bashast/bashast.g b/bashast/bashast.g index fd626b7..0f297f6 100644 --- a/bashast/bashast.g +++ b/bashast/bashast.g @@ -149,7 +149,7 @@ export_item bash_command : fname_no_res_word (BLANK!+ fname)*; redirect: (BLANK!* redirect_atom)*; -redirect_atom: here_string_op^ BLANK!* fname +redirect_atom: HERE_STRING_OP^ BLANK!* fname | here_doc_op^ BLANK!* fname EOL! heredoc | redir_op BLANK* redir_dest -> ^(REDIR redir_op redir_dest) | process_substitution; @@ -160,8 +160,6 @@ file_desc_as_file : DIGIT -> ^(FILE_DESCRIPTOR DIGIT) | DIGIT MINUS -> ^(FILE_DESCRIPTOR_MOVE DIGIT); heredoc : (fname EOL!)*; -here_string_op - : HERE_STRING_OP; here_doc_op : LSHIFT MINUS -> OP["<<-"] | LSHIFT -> OP["<<"];