Update for bison 3.5

issue#70
Houtan Bastani 2019-12-18 11:26:07 +01:00
parent 87870eaae8
commit 653b2477db
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ namespace macro
void push(const string &prefix, const Tokenizer::location &location)
{
stringstream ss;
unsigned end_col = 0 < location.end.column ? location.end.column - 1 : 0;
auto end_col = 0 < location.end.column ? location.end.column - 1 : 0;
ss << prefix << ": "
<< R"(")" << *location.begin.filename << R"(" line )" << location.begin.line