From: Akim Demaille Date: Mon, 4 Mar 2002 17:00:45 +0000 (+0000) Subject: * src/reader.c (readgram): A missing `;' is a warning, not an X-Git-Tag: BISON-1_33b~3 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/5d08b24fbaf0169e3641c944e53a29a48f8558c9?ds=sidebyside * src/reader.c (readgram): A missing `;' is a warning, not an error! --- diff --git a/ChangeLog b/ChangeLog index 506b80de..0a75128a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-03-04 Akim Demaille + + * src/reader.c (readgram): A missing `;' is a warning, not an + error! + 2002-03-04 Akim Demaille * tests/sets.at (Broken Closure): Add the ending `;'. diff --git a/po/de.po b/po/de.po index 9eb25073..c54598a9 100644 --- a/po/de.po +++ b/po/de.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: bison 1.33\n" -"POT-Creation-Date: 2002-03-04 17:25+0100\n" +"POT-Creation-Date: 2002-03-04 18:05+0100\n" "PO-Revision-Date: 2002-02-08 09:34:24+0100\n" "Last-Translator: Michael Piefel \n" "Language-Team: German \n" diff --git a/po/es.po b/po/es.po index f4d653ec..70d4167e 100644 --- a/po/es.po +++ b/po/es.po @@ -30,7 +30,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU bison 1.25\n" -"POT-Creation-Date: 2002-03-04 17:25+0100\n" +"POT-Creation-Date: 2002-03-04 18:05+0100\n" "PO-Revision-Date: 1998-09-21 10:19+0200\n" "Last-Translator: Nicolás García-Pedrajas \n" "Language-Team: Spanish \n" diff --git a/po/et.po b/po/et.po index a115e1f5..6fa04c5a 100644 --- a/po/et.po +++ b/po/et.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: bison 1.33\n" -"POT-Creation-Date: 2002-03-04 17:25+0100\n" +"POT-Creation-Date: 2002-03-04 18:05+0100\n" "PO-Revision-Date: 2002-02-08 00:15+0200\n" "Last-Translator: Toomas Soome \n" "Language-Team: Estonian \n" diff --git a/po/fr.po b/po/fr.po index 3f8ee807..e69f37a1 100644 --- a/po/fr.po +++ b/po/fr.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU bison 1.33\n" -"POT-Creation-Date: 2002-03-04 17:25+0100\n" +"POT-Creation-Date: 2002-03-04 18:05+0100\n" "PO-Revision-Date: 2002-02-11 08:00-0500\n" "Last-Translator: Michel Robitaille \n" "Language-Team: French \n" diff --git a/po/it.po b/po/it.po index 88de3de0..6a308653 100644 --- a/po/it.po +++ b/po/it.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: bison 1.31\n" -"POT-Creation-Date: 2002-03-04 17:25+0100\n" +"POT-Creation-Date: 2002-03-04 18:05+0100\n" "PO-Revision-Date: 2002-01-23 14:16+0100\n" "Last-Translator: Paolo Bonzini \n" "Language-Team: Italian \n" diff --git a/po/ja.po b/po/ja.po index 3c492236..a459b0b9 100644 --- a/po/ja.po +++ b/po/ja.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: GNU bison 1.30f\n" -"POT-Creation-Date: 2002-03-04 17:25+0100\n" +"POT-Creation-Date: 2002-03-04 18:05+0100\n" "PO-Revision-Date: 2001-12-10 15:59+0900\n" "Last-Translator: Daisuke Yamashita \n" "Language-Team: Japanese \n" diff --git a/po/nl.po b/po/nl.po index 5406458b..b7294169 100644 --- a/po/nl.po +++ b/po/nl.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: bison 1.32\n" -"POT-Creation-Date: 2002-03-04 17:25+0100\n" +"POT-Creation-Date: 2002-03-04 18:05+0100\n" "PO-Revision-Date: 2002-02-01 18:46+0000\n" "Last-Translator: Tim Van Holder \n" "Language-Team: Dutch \n" diff --git a/po/ru.po b/po/ru.po index dd3007f9..8c407d3e 100644 --- a/po/ru.po +++ b/po/ru.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: bison 1.32\n" -"POT-Creation-Date: 2002-03-04 17:25+0100\n" +"POT-Creation-Date: 2002-03-04 18:05+0100\n" "PO-Revision-Date: 2002-01-25 12:19+0300\n" "Last-Translator: Dmitry S. Sivachenko \n" "Language-Team: Russian \n" diff --git a/po/sv.po b/po/sv.po index 59ce62b6..d945d918 100644 --- a/po/sv.po +++ b/po/sv.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: bison 1.33\n" -"POT-Creation-Date: 2002-03-04 17:25+0100\n" +"POT-Creation-Date: 2002-03-04 18:05+0100\n" "PO-Revision-Date: 2002-02-07 22:57+0100\n" "Last-Translator: Göran Uddeborg \n" "Language-Team: Swedish \n" diff --git a/po/tr.po b/po/tr.po index 7effbdc8..dfbe6c78 100644 --- a/po/tr.po +++ b/po/tr.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: bison 1.33\n" -"POT-Creation-Date: 2002-03-04 17:25+0100\n" +"POT-Creation-Date: 2002-03-04 18:05+0100\n" "PO-Revision-Date: 2002-02-08 18:51+0200\n" "Last-Translator: Altuð Bayram \n" "Language-Team: Turkish \n" diff --git a/src/reader.c b/src/reader.c index ee4f0f42..0d950802 100644 --- a/src/reader.c +++ b/src/reader.c @@ -1441,7 +1441,7 @@ readgram (void) symval = ssave; if (t1 == tok_colon) { - complain (_("previous rule lacks an ending `;'")); + warn (_("previous rule lacks an ending `;'")); break; } @@ -1553,7 +1553,7 @@ readgram (void) else if (!xactions && !first_rhs && lhs->type_name != 0) complain (_("empty rule for typed nonterminal, and no action")); if (t == tok_two_percents || t == tok_eof) - complain (_("previous rule lacks an ending `;'")); + warn (_("previous rule lacks an ending `;'")); if (t == tok_semicolon) t = lex (); }