Update for bison 3.5
parent
87870eaae8
commit
653b2477db
|
@ -52,7 +52,7 @@ namespace macro
|
||||||
void push(const string &prefix, const Tokenizer::location &location)
|
void push(const string &prefix, const Tokenizer::location &location)
|
||||||
{
|
{
|
||||||
stringstream ss;
|
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 << ": "
|
ss << prefix << ": "
|
||||||
<< R"(")" << *location.begin.filename << R"(" line )" << location.begin.line
|
<< R"(")" << *location.begin.filename << R"(" line )" << location.begin.line
|
||||||
|
|
Loading…
Reference in New Issue