https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120253
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Gaius Mulley <ga...@gcc.gnu.org>: https://gcc.gnu.org/g:9a485b83e177cb742be17faf20ac5cc7db14fee3 commit r16-601-g9a485b83e177cb742be17faf20ac5cc7db14fee3 Author: Gaius Mulley <gaiusm...@gmail.com> Date: Tue May 13 22:54:33 2025 +0100 PR modula2/120253: Error message column numbers should start at 1 not 0 This patch ensures that column numbers start at 1 rather than 0. gcc/m2/ChangeLog: PR modula2/120253 * m2.flex (FIRST_COLUMN): New define. (updatepos): Remove commented code. (consumeLine): Assign column to FIRST_COLUMN. (initLine): Ditto. (m2flex_GetColumnNo): Return FIRST_COLUMN if currentLine is NULL. (m2flex_GetLineNo): Rewrite for positive logic. (m2flex_GetLocation): Ditto. Signed-off-by: Gaius Mulley <gaiusm...@gmail.com>