Gary Funck
b492b6862e
re PR preprocessor/33919 (__BASE_FILE__ does not expand correctly when included from the command line)
libcpp/
PR preprocessor/33919
* files.c (_cpp_get_file_name): New. Implement file name
access function.
* internal.h (_cpp_get_file_name): New prototype.
* macro.c (_cpp_builtin_macro_text): Call _cpp_get_file_name()
to use pfile->main_file in lieu of traversing INCLUDED_FROM chain.
gcc/testsuite/
PR preprocessor/33919
* gcc.dg/pr33919.c: New test.
* gcc.dg/pr33919-0.h: New test header file.
* gcc.dg/pr33919-1.h: Ditto.
* gcc.dg/pr33919-2.h: Ditto.
From-SVN: r183003
2012-01-09 08:48:43 +00:00
..
2011-12-20 20:44:13 +00:00
2011-07-08 20:29:04 +01:00
2010-06-01 10:20:24 -04:00
2012-01-09 08:48:43 +00:00
2011-01-03 21:52:22 +01:00
2010-11-18 07:35:34 +00:00
2011-12-20 16:54:12 +00:00
2011-11-03 17:17:07 +00:00
2011-08-15 20:35:58 +00:00
2011-10-17 11:59:12 +02:00
2011-01-03 21:52:22 +01:00
2011-11-21 14:27:30 -05:00
2012-01-09 08:48:43 +00:00
2009-04-09 17:00:19 +02:00
2011-12-20 20:44:13 +00:00
2012-01-09 08:48:43 +00:00
2011-12-07 23:05:59 +01:00
2011-11-22 11:13:00 -05:00
2012-01-09 08:48:43 +00:00
2011-11-03 17:17:07 +00:00
2009-04-09 17:00:19 +02:00
2011-03-25 20:11:26 +01:00
2011-04-20 18:19:03 +00:00
2009-07-18 03:22:16 +00:00
2012-01-03 11:44:34 +00:00
2011-10-17 11:59:12 +02:00
2009-04-09 17:00:19 +02:00
2009-04-09 17:00:19 +02:00