aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse
diff options
context:
space:
mode:
authorGaius Mulley <gaiusmod2@gmail.com>2025-07-31 23:28:53 +0100
committerGaius Mulley <gaiusmod2@gmail.com>2025-07-31 23:28:53 +0100
commitaa19c1076f4949c95f4eafb8fbe5a44dfb8ae11c (patch)
tree9665ae303a1cfadf6c42027a5ab1fa0dacd0de31 /gcc/rust/parse
parent04a1259ffea29718256beeb2aca3f473c1f259e4 (diff)
downloadgcc-aa19c1076f4949c95f4eafb8fbe5a44dfb8ae11c.zip
gcc-aa19c1076f4949c95f4eafb8fbe5a44dfb8ae11c.tar.gz
gcc-aa19c1076f4949c95f4eafb8fbe5a44dfb8ae11c.tar.bz2
PR modula2/121314: quotes appearing in concatenated error strings
This patch fixes the addition of strings so that no extraneous quotes appear in the result string. The fix is made to the bootstrap tool mc and it has been rebuilt. gcc/m2/ChangeLog: PR modula2/121314 * mc-boot/GFormatStrings.cc (PerformFormatString): Rebuilt. * mc-boot/GM2EXCEPTION.cc (M2EXCEPTION_M2Exception): Rebuilt. * mc-boot/GSFIO.cc (SFIO_GetFileName): Rebuilt. * mc-boot/GSFIO.h (SFIO_GetFileName): Rebuilt. * mc-boot/Gdecl.cc: Rebuilt. * mc-boot/GmcFileName.h: Rebuilt. * mc/decl.mod (getStringChar): New procedure function. (getStringContents): Call getStringChar. (addQuotes): New procedure function. (foldBinary): Call addQuotes to add delimiting quotes to the new string. gcc/testsuite/ChangeLog: PR modula2/121314 * gm2/errors/fail/badindrtype.mod: New test. * gm2/errors/fail/badindrtype2.mod: New test. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc/rust/parse')
0 files changed, 0 insertions, 0 deletions