diff options
author | Akim Demaille <akim@epita.fr> | 2002-03-04 17:00:45 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2002-03-04 17:00:45 +0000 |
commit | 5d08b24fbaf0169e3641c944e53a29a48f8558c9 (patch) | |
tree | d1083203484ffe43981cb927accc1c7504280d00 | |
parent | 3af141b0e32f38aec5d68b7d2bfa9a0cbda4dcd2 (diff) | |
download | bison-5d08b24fbaf0169e3641c944e53a29a48f8558c9.tar.gz |
* src/reader.c (readgram): A missing `;' is a warning, not an
error!
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | po/de.po | 2 | ||||
-rw-r--r-- | po/es.po | 2 | ||||
-rw-r--r-- | po/et.po | 2 | ||||
-rw-r--r-- | po/fr.po | 2 | ||||
-rw-r--r-- | po/it.po | 2 | ||||
-rw-r--r-- | po/ja.po | 2 | ||||
-rw-r--r-- | po/nl.po | 2 | ||||
-rw-r--r-- | po/ru.po | 2 | ||||
-rw-r--r-- | po/sv.po | 2 | ||||
-rw-r--r-- | po/tr.po | 2 | ||||
-rw-r--r-- | src/reader.c | 4 |
12 files changed, 17 insertions, 12 deletions
@@ -1,5 +1,10 @@ 2002-03-04 Akim Demaille <akim@epita.fr> + * src/reader.c (readgram): A missing `;' is a warning, not an + error! + +2002-03-04 Akim Demaille <akim@epita.fr> + * tests/sets.at (Broken Closure): Add the ending `;'. * tests/input.at (Invalid $n, Invalid @n): Likewise. * tests/output.at (AT_CHECK_OUTPUT): Likewise. @@ -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 <piefel@informatik.hu-berlin.de>\n" "Language-Team: German <de@li.org>\n" @@ -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 <ngarcia-pedrajas@acm.org>\n" "Language-Team: Spanish <es@li.org>\n" @@ -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 <tsoome@ut.ee>\n" "Language-Team: Estonian <et@li.org>\n" @@ -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 <robitail@IRO.UMontreal.CA>\n" "Language-Team: French <traduc@traduc.org>\n" @@ -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 <bonzini@gnu.org>\n" "Language-Team: Italian <it@li.org>\n" @@ -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 <yamad@mb.infoweb.ne.jp>\n" "Language-Team: Japanese <ja@li.org>\n" @@ -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 <tim.van.holder@pandora.be>\n" "Language-Team: Dutch <vertaling@nl.linux.org>\n" @@ -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 <dima@Chg.RU>\n" "Language-Team: Russian <ru@li.org>\n" @@ -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 <goeran@uddeborg.pp.se>\n" "Language-Team: Swedish <sv@li.org>\n" @@ -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 <altugbayram_2000@yahoo.com>\n" "Language-Team: Turkish <gnu-tr-u12a@lists.sourceforge.net>\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 (); } |