mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-23 04:15:31 +00:00
Fixed source code format.
This commit is contained in:
parent
0ddb5682af
commit
56ebcf09bf
@ -78,10 +78,10 @@ int main(int argc, const char** argv)
|
|||||||
|
|
||||||
vector<char> source;
|
vector<char> source;
|
||||||
if (!read_file(source_path, source)) {
|
if (!read_file(source_path, source)) {
|
||||||
auto beg = source_path;
|
auto beg = source_path;
|
||||||
auto end = source_path + strlen(source_path);
|
auto end = source_path + strlen(source_path);
|
||||||
source.assign(beg, end);
|
source.assign(beg, end);
|
||||||
source_path = "[commendline]";
|
source_path = "[commendline]";
|
||||||
}
|
}
|
||||||
|
|
||||||
peg.log = [&](auto ln, auto col, const auto& msg) {
|
peg.log = [&](auto ln, auto col, const auto& msg) {
|
||||||
|
Loading…
Reference in New Issue
Block a user