mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 16:23:04 +00:00
portability: use CHAR_LITERAL instead of CHAR because MSVC defines CHAR
* src/parse-gram.y, src/scan-gram.l: here.
This commit is contained in:
committed by
Akim Demaille
parent
8cf098415e
commit
e73f086b0d
@@ -615,9 +615,9 @@ eqopt ({sp}=)?
|
||||
}
|
||||
else
|
||||
{
|
||||
val->CHAR = last_string[0];
|
||||
val->CHAR_LITERAL = last_string[0];
|
||||
STRING_FREE ();
|
||||
return CHAR;
|
||||
return CHAR_LITERAL;
|
||||
}
|
||||
}
|
||||
{eol} unexpected_newline (token_start, "'");
|
||||
|
||||
Reference in New Issue
Block a user