lex.c (259555) | lex.c (260310) |
---|---|
1/* CPP Library - lexical analysis. 2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 Contributed by Per Bothner, 1994-95. 4 Based on CCCP program by Paul Rubin, June 1986 5 Adapted to ANSI C, Richard Stallman, Jan 1987 6 Broken out to separate file, Zack Weinberg, Mar 2000 7 8This program is free software; you can redistribute it and/or modify it --- 644 unchanged lines hidden (view full) --- 653 else if (c == '\0') 654 saw_NUL = true; 655 } 656 657 if (saw_NUL && !pfile->state.skipping) 658 cpp_error (pfile, CPP_DL_WARNING, 659 "null character(s) preserved in literal"); 660 | 1/* CPP Library - lexical analysis. 2 Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. 3 Contributed by Per Bothner, 1994-95. 4 Based on CCCP program by Paul Rubin, June 1986 5 Adapted to ANSI C, Richard Stallman, Jan 1987 6 Broken out to separate file, Zack Weinberg, Mar 2000 7 8This program is free software; you can redistribute it and/or modify it --- 644 unchanged lines hidden (view full) --- 653 else if (c == '\0') 654 saw_NUL = true; 655 } 656 657 if (saw_NUL && !pfile->state.skipping) 658 cpp_error (pfile, CPP_DL_WARNING, 659 "null character(s) preserved in literal"); 660 |
661 if (type == CPP_OTHER && CPP_OPTION (pfile, lang) != CLK_ASM) | 661 /* APPLE LOCAL begin #error with unmatched quotes 5607574 */ 662 if (type == CPP_OTHER 663 && CPP_OPTION (pfile, lang) != CLK_ASM 664 && !pfile->state.in_diagnostic 665 && !pfile->state.skipping) 666 /* APPLE LOCAL end #error with unmatched quotes 5607574 */ |
662 cpp_error (pfile, CPP_DL_PEDWARN, "missing terminating %c character", 663 (int) terminator); 664 665 pfile->buffer->cur = cur; 666 create_literal (pfile, token, base, cur - base, type); 667} 668 669/* The stored comment includes the comment start and any terminator. */ --- 1060 unchanged lines hidden --- | 667 cpp_error (pfile, CPP_DL_PEDWARN, "missing terminating %c character", 668 (int) terminator); 669 670 pfile->buffer->cur = cur; 671 create_literal (pfile, token, base, cur - base, type); 672} 673 674/* The stored comment includes the comment start and any terminator. */ --- 1060 unchanged lines hidden --- |