logological / gpp

GPP, a generic preprocessor
https://logological.org/gpp
GNU Lesser General Public License v3.0
197 stars 31 forks source link

Spurious warning when comment on same line as #include directive #7

Closed logological closed 7 years ago

logological commented 8 years ago

GPP issues a spurious warning when a comment is placed on the same line as an #include directive.

(This issue was migrated from the BUGS file of 2004-07-11.)

logological commented 7 years ago

I can't reproduce this. The following file is preprocessed without errors by gpp -C (assuming the file bar exists):

begin foo
#include bar /* this is a comment */
end foo