source: branches/ffigen-apple-gcc-5646/ffigen4/source/gcc-5646-c-lex.c.diff@ 74

Last change on this file since 74 was 67, checked in by gb, 15 years ago

Don't know if this works yet.

File size: 590 bytes
RevLine 
[67]1--- c-lex.c.orig 2009-09-15 07:37:27.000000000 -0600
2+++ c-lex.c 2009-09-15 07:37:53.000000000 -0600
3@@ -135,9 +135,10 @@
4 cb->read_pch = c_common_read_pch;
5
6 /* Set the debug callbacks if we can use them. */
7- if (debug_info_level == DINFO_LEVEL_VERBOSE
8- && (write_symbols == DWARF2_DEBUG
9- || write_symbols == VMS_AND_DWARF2_DEBUG))
10+ if (flag_syntax_only ||
11+ (debug_info_level == DINFO_LEVEL_VERBOSE
12+ && (write_symbols == DWARF2_DEBUG
13+ || write_symbols == VMS_AND_DWARF2_DEBUG)))
14 {
15 cb->define = cb_define;
16 cb->undef = cb_undef;
Note: See TracBrowser for help on using the repository browser.