Closed virtuald closed 4 years ago
Given a header:
#pragma once /** this spans two lines */ virtual std::string baseOnly();
gcc -E -CC gives me:
gcc -E -CC
# 4 "include/base.h" /** this spans two lines */ virtual std::string baseOnly();
Whereas current master gives me:
$ pcpp include/base.h --passthru-comments #line 4 "include/base.h" /** this spans two lines */ virtual std::string baseOnly();
I've got a fix for this that I'll push momentarily.
Thanks for reporting the problem and PR fixing this!
Given a header:
gcc -E -CC
gives me:Whereas current master gives me:
I've got a fix for this that I'll push momentarily.