mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 11:55:30 +00:00
Updated README
This commit is contained in:
parent
b83c7be298
commit
a8e5aa0e08
@ -115,7 +115,7 @@ auto grammar = R"(
|
|||||||
|
|
||||||
parser parser;
|
parser parser;
|
||||||
|
|
||||||
parser.log = [](size_t line, size_t col, const string& msg) {
|
parser.log = [](size_t line, size_t col, const string& msg, const string &rule) {
|
||||||
cerr << line << ":" << col << ": " << msg << "\n";
|
cerr << line << ":" << col << ": " << msg << "\n";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user