Skip to content

Commit

Permalink
Fix single line comment bug. (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim committed May 21, 2024
1 parent 6996fb8 commit e50eae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generator/parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ bool Parser::parse(const std::string& proto_file, idl_info& info)

while (fgets(line_buffer, LINE_LENGTH_MAX, in))
{
std::string line = SGenUtil::lstrip(line_buffer);
std::string line = SGenUtil::strip(line_buffer);

if (line.empty())
continue;
Expand Down

0 comments on commit e50eae2

Please sign in to comment.