diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-11-03 08:32:42 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-11-03 08:49:25 -0800 |
commit | 082a7b239096caf422f7ef138e2729b2730c0d70 (patch) | |
tree | a7a40c40dde548a75932a4ff8199d5fc1075d954 /gcc/tree-nested.c | |
parent | 84ed8d2c88966fe30c54802a2088f68495fd833a (diff) | |
download | gcc-082a7b239096caf422f7ef138e2729b2730c0d70.zip gcc-082a7b239096caf422f7ef138e2729b2730c0d70.tar.gz gcc-082a7b239096caf422f7ef138e2729b2730c0d70.tar.bz2 |
cpplib: Fix off-by-one error
I noticed a fencepost error in the preprocessor. We should be
checking if the next char is at the limit, not the current char (which
can't be, because we're looking at it).
libcpp/
* lex.c (_cpp_clean_line): Fix DOS off-by-one error.
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions