mycoboco / beluga

a standard C compiler (with an integrated preprocessor)
http://code.woong.org/beluga
Other
65 stars 8 forks source link

add an option to show full path of include files #123

Closed mycoboco closed 6 years ago

mycoboco commented 6 years ago

Currently, beluga shows a path and filename used in #include without prepending any include path. This makes diagnostics and linemarkers concise but does pin-pointing problematic code difficult when compiling large projects.

Add an option to prepend include paths if any and make it default.

mycoboco commented 6 years ago

Can be simply revised only by touching inc_start. Maybe necessary to give special handling to current directory, ./.