]> git.ipfire.org Git - thirdparty/gcc.git/commit
a68: some small a68-diagnostics.cc improvements
authorJose E. Marchesi <jose.marchesi@oracle.com>
Sun, 30 Nov 2025 19:42:43 +0000 (20:42 +0100)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Sun, 30 Nov 2025 19:42:43 +0000 (20:42 +0100)
commit16cf0b49fbb22087e7ae4145da03e73a3dc3626a
treeb6edbdadda921fd191e64006e9936d35c6538557
parentc85bf98ad29840d9829e1f5a2d9859a2fbad2037
a68: some small a68-diagnostics.cc improvements

This commit fixes a few problems in algol68/a68-diagnostics.cc,
reported by David Malcolm in-list.

gcc/ChangeLog

* algol68/a68-diagnostics.cc (diagnostic): Copypasto "a meek"
should be "a firm".  Support printing line number for programs
longer than 9 lines.  Use obstack_append_str rather than
obstack_grow.
(obstack_append_str): New function.
gcc/algol68/a68-diagnostics.cc