* tests/regression.at (AT_TEST_CPP_GUARD_H): New.

Check that `9foo.y' produces correct cpp guards.
* src/files.c (compute_header_macro): Prepend `BISON_' to CPP
guards.
Reported by Wwp.
This commit is contained in:
Akim Demaille
2001-11-01 18:29:36 +00:00
parent 705131d1de
commit 1d708336d4
17 changed files with 141 additions and 112 deletions

View File

@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: GNU bison 1.28\n"
"POT-Creation-Date: 2001-10-26 14:37+0200\n"
"POT-Creation-Date: 2001-11-01 19:27+0100\n"
"PO-Revision-Date: 1999-09-28 21:10+0900\n"
"Last-Translator: Daisuke Yamashita <yamad@mb.infoweb.ne.jp>\n"
"Language-Team: Japanese <ja@li.org>\n"
@@ -135,12 +135,12 @@ msgstr ""
msgid "%s derives"
msgstr "%s は以下から派生"
#: src/files.c:133
#: src/files.c:143
#, c-format
msgid "cannot open file `%s'"
msgstr ""
#: src/files.c:152
#: src/files.c:162
msgid "cannot close file"
msgstr ""
@@ -214,7 +214,7 @@ msgid ""
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
msgstr ""
#: src/getargs.c:214 src/lex.c:650
#: src/getargs.c:214 src/lex.c:651
#, c-format
msgid "`%s' is no longer supported"
msgstr ""
@@ -239,34 +239,34 @@ msgstr "%s: '%s'
msgid "too many gotos (max %d)"
msgstr "%s の数が多すぎます (最大 %d)"
#: src/lex.c:78
#: src/lex.c:77
msgid "unexpected `/' found and ignored"
msgstr "予期しない `/' が見つかり、無視されました"
#: src/lex.c:107 src/reader.c:269
#: src/lex.c:106 src/reader.c:269
msgid "unterminated comment"
msgstr "閉じていないコメントです"
#: src/lex.c:139
#: src/lex.c:138
#, fuzzy
msgid "unexpected end of file"
msgstr "予期しないファイルの終端です"
#: src/lex.c:168
#: src/lex.c:167
msgid "unescaped newline in constant"
msgstr "定数の中にエスケープされていない改行があります"
#: src/lex.c:210
#: src/lex.c:209
#, c-format
msgid "octal value outside range 0...255: `\\%o'"
msgstr "8 進数の値が 0...255 の範囲外です: `\\%o'"
#: src/lex.c:235
#: src/lex.c:234
#, c-format
msgid "hexadecimal value above 255: `\\x%x'"
msgstr "16 進数の値が 255 を越えています: `\\x%x'"
#: src/lex.c:247
#: src/lex.c:246
#, c-format
msgid "unknown escape sequence: `\\' followed by `%s'"
msgstr "未知のエスケープシーケンス: `\\' の後に `%s'"
@@ -279,7 +279,7 @@ msgstr "
msgid "unterminated type name"
msgstr "閉じられていないタイプ名があります"
#: src/lex.c:437
#: src/lex.c:438
msgid "use \"...\" for multi-character literal tokens"
msgstr "複数文字のリテラルトークンには \"...\" を使いましょう"