Skip to content

Commit

Permalink
Fix #41
Browse files Browse the repository at this point in the history
  • Loading branch information
d-frey committed Jan 16, 2017
1 parent 2e18eca commit 3d74e23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/abnf2pegtl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ namespace abnf2pegtl
s += ", ";
}
s += '\'';
if( c == '\'' ) {
if( c == '\'' || c == '\\' ) {
s += '\\';
}
s += c;
Expand Down

0 comments on commit 3d74e23

Please sign in to comment.