Wilken Gottwalt <wilken.gottw...@posteo.net> writes:

> Fix using keywords as identifiers to prevent warnings coming from
> Modula-2's own libraries.
>
> 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/gm2:
>         * gm2-libs/DynamicStrings.mod: Fix bad identifier warning.
>
> Signed-off-by: Wilken Gottwalt <wilken.gottw...@posteo.net>

thank you!

Reply via email to