]> git.saurik.com Git - bison.git/commitdiff
Add bootstrap.
authorAkim Demaille <akim@epita.fr>
Thu, 18 Apr 2002 16:41:19 +0000 (16:41 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 18 Apr 2002 16:41:19 +0000 (16:41 +0000)
README-cvs
TODO
bootstrap [new file with mode: 0755]

index c7043333ad6af7e04aa29363223f133891394352..92209fb294984696586ccf97d9625969b5bd0bfd 100644 (file)
@@ -22,19 +22,7 @@ information on:
 
 The next step is asking the installation of all the missing files:
 
-       $ autoreconf -f -v -i
-
-Unfortunately, this will change a few files that should not have been
-replaced, so remove them, and ask for the original copies:
-
-       $ rm Makefile.am configure.in m4/Makefile.am
-       $ cvs update
-
-(Hopefully, these steps will no longer be needed in the future.)
-Because of these changes, running autoreconf a second, and last time,
-is needed.  Pay attention that the options are different this time:
-
-       $ autoreconf -v -f
+       $ ./bootstrap
 
 And there you are!  Just
 
diff --git a/TODO b/TODO
index 01e1a08157fac05e91f71d5b962dfbd064931337..c39f244245b84d43b0ad60dce788f7f757a44b5b 100644 (file)
--- a/TODO
+++ b/TODO
@@ -152,6 +152,11 @@ src/bison/tests % cd ./testsuite.dir/51
 tests/testsuite.dir/51 % echo "()" | ./calc
 1.2-1.3: parse error, unexpected ')', expecting error or "number" or '-' or '('
 
+* yyerror, yyprint interface
+It should be improved, in particular when using Bison features such as
+locations, and YYPARSE_PARAMS.  For the time being, it is recommended
+to #define yyerror and yyprint to steal internal variables...
+
 * read_pipe.c
 This is not portable to DOS for instance.  Implement a more portable
 scheme.  Sources of inspiration include GNU diff, and Free Recode.
diff --git a/bootstrap b/bootstrap
new file mode 100755 (executable)
index 0000000..e6c3831
--- /dev/null
+++ b/bootstrap
@@ -0,0 +1,14 @@
+#! /bin/sh
+
+echo "Bootstrapping CVS Bison..."
+
+autoreconf --force --install --verbose
+
+# Because of Gettext
+mv m4/Makefile.am~ m4/Makefile.am
+mv Makefile.am~ Makefile.am
+mv configure.in~ configure.in
+touch m4/Makefile.am Makefile.am configure.in
+rm po/Makevars.template
+
+autoreconf --verbose