* src/reader.c (readgram): A missing `;' is a warning, not an

error!
This commit is contained in:
Akim Demaille
2002-03-04 17:00:45 +00:00
parent 3af141b0e3
commit 5d08b24fba
12 changed files with 17 additions and 12 deletions
+5
View File
@@ -1,3 +1,8 @@
2002-03-04 Akim Demaille <[email protected]>
* src/reader.c (readgram): A missing `;' is a warning, not an
error!
2002-03-04 Akim Demaille <[email protected]>
* tests/sets.at (Broken Closure): Add the ending `;'.
+1 -1
View File
@@ -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 <[email protected]>\n"
"Language-Team: German <[email protected]>\n"
+1 -1
View File
@@ -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 <[email protected]>\n"
"Language-Team: Spanish <[email protected]>\n"
+1 -1
View File
@@ -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 <[email protected]>\n"
"Language-Team: Estonian <[email protected]>\n"
+1 -1
View File
@@ -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 <[email protected]>\n"
"Language-Team: French <[email protected]>\n"
+1 -1
View File
@@ -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 <[email protected]>\n"
"Language-Team: Italian <[email protected]>\n"
+1 -1
View File
@@ -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 <[email protected]>\n"
"Language-Team: Japanese <[email protected]>\n"
+1 -1
View File
@@ -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 <[email protected]>\n"
"Language-Team: Dutch <[email protected]>\n"
+1 -1
View File
@@ -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 <[email protected]>\n"
"Language-Team: Russian <[email protected]>\n"
+1 -1
View File
@@ -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 <[email protected]>\n"
"Language-Team: Swedish <[email protected]>\n"
+1 -1
View File
@@ -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 <[email protected]>\n"
"Language-Team: Turkish <[email protected]>\n"
+2 -2
View File
@@ -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 ();
}