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 1QF6PK-0008Rw-IX for garchives@archives.gentoo.org; Wed, 27 Apr 2011 15:12:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BAEA51C082; Wed, 27 Apr 2011 15:11:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8A1D71C082 for ; Wed, 27 Apr 2011 15:11:14 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF8F11B408B for ; Wed, 27 Apr 2011 15:11:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 619908050C for ; Wed, 27 Apr 2011 15:11:13 +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: <74f857d116fa51adaa22f78893d7f1e836a2346c.betelgeuse@gentoo> Subject: [gentoo-commits] proj/libbash:master commit in: / X-VCS-Repository: proj/libbash X-VCS-Committer: betelgeuse X-VCS-Committer-Name: Petteri Räty X-VCS-Revision: 74f857d116fa51adaa22f78893d7f1e836a2346c Date: Wed, 27 Apr 2011 15:11:13 +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: 0f63949ebdc31ea8e9c949f4c8537e34 commit: 74f857d116fa51adaa22f78893d7f1e836a2346c Author: Petteri R=C3=A4ty petteriraty eu> AuthorDate: Wed Apr 27 15:07:13 2011 +0000 Commit: Petteri R=C3=A4ty gentoo org> CommitDate: Wed Apr 27 15:07:13 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/libbash.git;a= =3Dcommit;h=3D74f857d1 Merge remote-tracking branch 'mu/compound_expr' Makefile.am | 4 + bashast/bashast.g | 25 ++-- bashast/features_script/features.sh.ast | 2 +- bashast/gunit/compound.gunit | 34 ++-- bashast/gunit/cond_main.gunit | 5 +- bashast/gunit/expansions.gunit | 3 +- bashast/gunit/pipeline.gunit | 2 +- bashast/libbashWalker.g | 286 +++++++++++++++++++++++++= ++---- scripts/compound_command.bash | 112 ++++++++++++ scripts/compound_command.bash.result | 34 ++++ scripts/test_expr.bash | 26 +++ scripts/test_expr.bash.result | 9 + scripts/var_def.bash | 6 + scripts/var_def.bash.result | 6 + src/core/interpreter.cpp | 10 +- src/core/interpreter.h | 17 ++- src/core/tests/interpreter_test.cpp | 14 ++ test/script_compiler.sh | 2 +- utils/variable_printer.cpp | 8 +- 19 files changed, 533 insertions(+), 72 deletions(-) diff --cc Makefile.am index b4f6488,a21b3ad..7202cef --- a/Makefile.am +++ b/Makefile.am @@@ -58,13 -60,11 +60,15 @@@ BASH_RESULT =3D scripts/var_def.bash.resu scripts/command_execution.bash.result \ scripts/function_def.bash.result \ scripts/arithmetic_assignment.bash.result \ + scripts/compound_command.bash.result \ + scripts/test_expr.bash.result \ scripts/binary_arithmetic.bash.result =20 -TESTS =3D $(GUNIT_TESTS) $(BASH_TESTS) +EBUILD_LOG_COMPILER =3D $(srcdir)/test/ebuild_compiler.sh +EBUILD_TESTS =3D scripts/sunpinyin-2.0.3-r1.ebuild +EBUILD_RESULT =3D scripts/sunpinyin-2.0.3-r1.ebuild.result + +TESTS =3D $(GUNIT_TESTS) $(BASH_TESTS) $(EBUILD_TESTS) # these get cleaned so only add autogenerated stuff or modify CLEANFILE= S check_JAVA =3D bashast/bashastLexer.java bashast/bashastParser.java AM_JAVACFLAGS =3D -classpath @antlr_cp@