diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2002-06-22 11:08:20 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2002-06-22 11:08:20 +0000 |
commit | 847c76c86abab21f77c80bf224c35869f6a12736 (patch) | |
tree | d5cc8fde896535a17af7b0bd1b7317936cbd2e85 /gcc/function.c | |
parent | 112bae7721708444619bfd87e881226918d9fd1b (diff) | |
download | gcc-847c76c86abab21f77c80bf224c35869f6a12736.zip gcc-847c76c86abab21f77c80bf224c35869f6a12736.tar.gz gcc-847c76c86abab21f77c80bf224c35869f6a12736.tar.bz2 |
cpptrad.c (struct fun_macro): Add line number.
* cpptrad.c (struct fun_macro): Add line number.
(scan_out_logical_line): Set it, and use it to report unterminated
macro invocations.
testsuite:
* gcc.dg/cpp/trad/comment-2.c. gcc.dg/cpp/trad/funlike-2.c,
gcc.dg/cpp/trad/funlike.c, gcc.dg/cpp/trad/funlike-3.c,
gcc.dg/cpp/trad/literals-1.c, gcc.dg/cpp/trad/literals-2.c,
gcc.dg/cpp/trad/macroargs.c, gcc.dg/cpp/trad/quote.c: New tests.
From-SVN: r54907
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions