Commit 31df826b authored by vasseu_c's avatar vasseu_c
Browse files

2003-03-26 Clement Vasseur <vasseu_c@lrde.epita.fr>

        * config/sdf-check.in: Fix @SGLR@ that should be used as
        @SGLR@/bin/sglr. Replace `unparsePT' with `asfix-yield'.

        * src/grammar/Makefile.am, src/deterministic/Makefile.am: Fix a bug
        that made the generated `Cpp.tbl' useless: don't forget to set
        PGEN_FLAGS to "-m $*" in Makefiles that invoke `sc'.
parent 1d0f14ba
2003-03-26 Clement Vasseur <vasseu_c@lrde.epita.fr>
* config/sdf-check.in: Fix @SGLR@ that should be used as
@SGLR@/bin/sglr. Replace `unparsePT' with `asfix-yield'.
* src/grammar/Makefile.am, src/deterministic/Makefile.am: Fix a bug
that made the generated `Cpp.tbl' useless: don't forget to set
PGEN_FLAGS to "-m $*" in Makefiles that invoke `sc'.
2003-03-25 Clement Vasseur <vasseu_c@lrde.epita.fr>
* src/attribute/Main.r, src/cpp-to-det/Main.r, src/det-to-cpp/Main.r:
......
#!/bin/sh
PARSE=@SGLR@/bin/sglr
UNPARSE=@ASFIX_TOOLS@/bin/asfix-yield
table=@abs_top_srcdir@/src/grammar/Cpp.tbl
tmp1=$(tempfile)
tmp2=$(tempfile)
......@@ -13,8 +16,8 @@ for file in "$@"; do
"$file" -o /dev/null &> /dev/null
if [ $? -eq 0 ]; then
@SGLR@ -fi -p $table -i "$file" 2> /dev/null | @UNPARSEPT@ > $tmp1 && \
@SGLR@ -fi -p $table -i $tmp1 2> /dev/null | @UNPARSEPT@ > $tmp2 && \
$PARSE -fi -p $table -i "$file" 2> /dev/null | $UNPARSE > $tmp1 && \
$PARSE -fi -p $table -i $tmp1 2> /dev/null | $UNPARSE > $tmp2 && \
diff $tmp1 $tmp2
if [ $? -eq 0 ]
then
......@@ -23,7 +26,7 @@ for file in "$@"; do
echo "$file: error"
fi
else
@SGLR@ -fr -p $table -i "$file" > /dev/null &> /dev/null
$PARSE -fr -p $table -i "$file" > /dev/null &> /dev/null
if [ $? -eq 0 ]; then
echo "$file: error, expecting failure"
else
......
;; -*- Prcs -*-
(Created-By-Prcs-Version 1 3 2)
(Project-Description "Meta/SDF Grammar for C++")
(Project-Version meta-c++-grammar 0 100)
(Parent-Version meta-c++-grammar 0 99)
(Version-Log "2003-03-25 Clement Vasseur <vasseu_c@lrde.epita.fr>
(Project-Version meta-c++-grammar 0 101)
(Parent-Version meta-c++-grammar 0 100)
(Version-Log "2003-03-26 Clement Vasseur <vasseu_c@lrde.epita.fr>
* stdconfig, bootstrap: Add, from sample StrategoXT package.
* config/sdf-check.in: Fix @SGLR@ that should be used as
@SGLR@/bin/sglr. Replace `unparsePT' with `asfix-yield'.
* src/grammar/Makefile.am, src/deterministic/Makefile.am: Fix a bug
that made the generated `Cpp.tbl' useless: don't forget to set
PGEN_FLAGS to \"-m $*\" in Makefiles that invoke `sc'.
")
(New-Version-Log "")
(Checkin-Time "Tue, 25 Mar 2003 06:44:56 +0100")
(Checkin-Time "Wed, 26 Mar 2003 16:47:44 +0100")
(Checkin-Login vasseu_c)
(Populate-Ignore
(
......@@ -80,7 +85,7 @@
)
(Project-Keywords)
(Files
(ChangeLog (meta-c++-grammar/0_ChangeLog 1.96 640))
(ChangeLog (meta-c++-grammar/0_ChangeLog 1.97 640))
(Makefile.am (meta-c++-grammar/f/34_Makefile.a 1.3 640))
(TODO (meta-c++-grammar/f/27_TODO 1.2 640))
(README (meta-c++-grammar/g/37_README 1.2 644))
......@@ -88,7 +93,7 @@
(config/Makefile.am (meta-c++-grammar/f/40_Makefile.a 1.2 640))
(config/ccview.sh (meta-c++-grammar/f/36_ccview.sh 1.1 750))
(config/disambiguate-check.in (meta-c++-grammar/f/38_disambigua 1.6 640))
(config/sdf-check.in (meta-c++-grammar/f/37_sdf-check. 1.3 640))
(config/sdf-check.in (meta-c++-grammar/f/37_sdf-check. 1.4 640))
(configure.ac (meta-c++-grammar/f/44_configure. 1.14 640))
(lib/Layout.sdf (meta-c++-grammar/4_Layout.sdf 1.3 640))
......@@ -155,7 +160,7 @@
(src/grammar/Literals.sdf (meta-c++-grammar/50_Literals.s 1.3 640))
(src/grammar/LogicalAndExpressions.sdf (meta-c++-grammar/51_LogicalAnd 1.4 640))
(src/grammar/LogicalOrExpressions.sdf (meta-c++-grammar/b/0_LogicalOrE 1.4 640))
(src/grammar/Makefile.am (meta-c++-grammar/f/47_Makefile.a 1.10 640))
(src/grammar/Makefile.am (meta-c++-grammar/f/47_Makefile.a 1.11 640))
(src/grammar/MemberSpecifications.sdf (meta-c++-grammar/b/1_MemberSpec 1.6 640))
(src/grammar/MultiplicativeExpressions.sdf (meta-c++-grammar/b/2_Multiplica 1.5 640))
(src/grammar/NamespaceAliases.sdf (meta-c++-grammar/b/3_NamespaceA 1.4 640))
......@@ -187,7 +192,7 @@
(src/grammar/UsingDirectives.sdf (meta-c++-grammar/b/29_UsingDirec 1.5 640))
(src/deterministic/Cpp-det.sdf (meta-c++-grammar/g/38_Cpp-det.sd 1.7 644))
(src/deterministic/Makefile.am (meta-c++-grammar/g/39_Makefile.a 1.2 644))
(src/deterministic/Makefile.am (meta-c++-grammar/g/39_Makefile.a 1.3 644))
(test/Makefile.am (meta-c++-grammar/f/45_Makefile.a 1.3 640))
(test/g++/abi/bitfield1.C (meta-c++-grammar/b/30_bitfield1. 1.1 640))
......
include $(top_srcdir)/Makefile.xt
PGEN_FLAGS = -m $*
pkgdata_DATA = Cpp-det.def Cpp-det.tbl Cpp-det.pp
EXTRA_DIST = $(SDFS)
......
include $(top_srcdir)/Makefile.xt
PGEN_FLAGS = -m $*
pkgdata_DATA = Cpp.def Cpp.tbl Cpp.pp
EXTRA_DIST = $(SDFS)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment