]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix using keywords as identifiers to prevent warnings during build
authorGaius Mulley <gaiusmod2@gmail.com>
Fri, 16 Aug 2024 15:09:53 +0000 (16:09 +0100)
committerGaius Mulley <gaiusmod2@gmail.com>
Fri, 16 Aug 2024 15:09:53 +0000 (16:09 +0100)
commit6738e9afa36a82a59869ced03a759a3a9e5a81b6
treeda8d664abe55eae6f38e4f88bf99681977be96aa
parent479dab62b828f93d6be48241178dbf654bdd33e7
Fix using keywords as identifiers to prevent warnings during build

m2pim/DynamicStrings.mod:1358:27: note: In procedure ‘Slice’: the symbol
name ‘end’ is legal as an identifier, however as such it might cause
confusion and is considered bad programming practice
 1358 |    start, end, o: INTEGER ;

m2pim/DynamicStrings.mod:1358:27: note: either the identifier has the
same name as a keyword or alternatively a keyword has the wrong case
(‘END’ and ‘end’).

gcc/m2/ChangeLog:

* gm2-libs/DynamicStrings.mod (Slice): Rename end to stop.

Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>
gcc/m2/gm2-libs/DynamicStrings.mod