Simple-minded fix for bug #50847
commit37999a4fbf3487b363fd0c2f9b7ab622401b202a
authorLarry Doolittle <ldoolitt@recycle.lbl.gov>
Tue, 25 Apr 2017 19:32:41 +0000 (25 12:32 -0700)
committerLarry Doolittle <ldoolitt@recycle.lbl.gov>
Tue, 25 Apr 2017 19:32:41 +0000 (25 12:32 -0700)
tree7301dc7732f5348de1d489346e8c63874ad757ac
parent7acf9aa86275a24b468786d6ea9f308ae33f011c
Simple-minded fix for bug #50847

bug #50847: #line directive corrupts #include search path
Keep a second copy of the filename, that isn't changed by the #line directive,
and use that on the initial search path for #include files.
libtcc.c
tcc.h
tccpp.c