diff --git a/src/u_common.pas b/src/u_common.pas index 3e51eab5..d7f25003 100644 --- a/src/u_common.pas +++ b/src/u_common.pas @@ -1307,6 +1307,8 @@ begin result := false; case ext of '.d', '.di', '.dd', '.lst', '.md', '.txt', '.map' , '.sx': result := true; + else if hasCppSyntax(ext) then + result := true; end; end;