Skip to content

Commit 166e8af

Browse files
committed
Merge branch 'main' of https://github.com/hsutter/cppfront
2 parents bf77f37 + f7fb3f3 commit 166e8af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/to_cpp1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1303,7 +1303,7 @@ class cppfront
13031303
if (
13041304
line.cat == source_line::category::preprocessor
13051305
&& contains(line.text, "#include")
1306-
&& !line.text.ends_with("*.h2\"")
1306+
&& !line.text.ends_with(".h2\"")
13071307
)
13081308
{
13091309
printer.print_cpp1(line.text, curr_lineno);

0 commit comments

Comments
 (0)