]> git.ipfire.org Git - thirdparty/gcc.git/commit
cpplex.c (_cpp_clean_line): In the common case of a line with no trigraphs and no...
authorZack Weinberg <zack@gcc.gnu.org>
Mon, 13 Oct 2003 18:53:28 +0000 (18:53 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Mon, 13 Oct 2003 18:53:28 +0000 (18:53 +0000)
commitd08dcf87c3cd30fc6d3029bed71ed06237c840ba
treec72adc0c25b99cd7a460fe815b5e09afa77b4622
parentb1ef58c8faace79193bb064f8034b422beb7fb46
cpplex.c (_cpp_clean_line): In the common case of a line with no trigraphs and no \-newline...

* cpplex.c (_cpp_clean_line): In the common case of a line
with no trigraphs and no \-newline, avoid writing to memory.
(_cpp_skip_block_comment): Use a local 'cur' pointer instead
of the buffer member.  Make c an uchar to avoid unnecessary
sign extensions.

From-SVN: r72437
gcc/ChangeLog
gcc/cpplex.c