aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constraint.cc
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2023-05-09 18:17:13 +0100
committerGaius Mulley <gaiusmod2@gmail.com>2023-05-09 18:17:13 +0100
commit434dade5a11f63533cbf6059a862856c9b11c711 (patch)
treefdff8e773152801c6c4002e5e89e82ba8355c047 /gcc/cp/constraint.cc
parent2499540e9abb55079b5f7b7ccdac97fbc63d9ab4 (diff)
downloadgcc-434dade5a11f63533cbf6059a862856c9b11c711.zip
gcc-434dade5a11f63533cbf6059a862856c9b11c711.tar.gz
gcc-434dade5a11f63533cbf6059a862856c9b11c711.tar.bz2
PR modula2/109779 isolib SkipLine skips the first character of the successive line
This is a patch for the m2iso library to prevent SkipLine from consuming the next character on the next line. gcc/m2/ChangeLog: PR modula2/109779 * gm2-libs-iso/RTgen.mod (doLook): Remove old. Remove re-assignment of result. * gm2-libs-iso/TextIO.mod (CanRead): Rename into ... (CharAvailable): ... this. (DumpState): New procedure. (SetResult): Rename as SetNul. (WasGoodChar): Rename into ... (EofOrEoln): ... this. (SkipLine): Skip over the newline. (ReadString): Flip THEN ELSE statements after testing for EofOrEoln. (ReadRestLine): Flip THEN ELSE statements after testing for EofOrEoln. gcc/testsuite/ChangeLog: PR modula2/109779 * gm2/isolib/run/pass/skiplinetest.mod: New test. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/cp/constraint.cc')
0 files changed, 0 insertions, 0 deletions