gcc/libgm2/libm2pim
Gaius Mulley 509eef9314 PR modula2/109879 WholeIO.ReadCard and ReadInt should consume leading space
The Read{TYPE} procedures in LongIO, LongWholeIO, RealIO, ShortWholeIO and
WholeIO all require skip space functionality.  A new module TextUtil
is supplied with this functionality and the previous modules have been
changed to call SkipSpaces.

gcc/m2/ChangeLog:

	PR modula2/109879
	* gm2-libs-iso/LongIO.mod (ReadReal): Call SkipSpaces.
	* gm2-libs-iso/LongWholeIO.mod (ReadInt): Call SkipSpaces.
	(ReadCard): Call SkipSpaces.
	* gm2-libs-iso/RealIO.mod (ReadReal): Call SkipSpaces.
	* gm2-libs-iso/ShortWholeIO.mod: (ReadInt): Call SkipSpaces.
	(ReadCard): Call SkipSpaces.
	* gm2-libs-iso/TextIO.mod: Import SkipSpaces.
	* gm2-libs-iso/WholeIO.mod (ReadInt): Call SkipSpaces.
	(ReadCard): Call SkipSpaces.
	* gm2-libs-iso/TextUtil.def: New file.
	* gm2-libs-iso/TextUtil.mod: New file.

libgm2/ChangeLog:

	PR modula2/109879
	* Makefile.in: Regenerate.
	* aclocal.m4: Regenerate.
	* libm2cor/Makefile.in: Regenerate.
	* libm2iso/Makefile.am (M2DEFS): Add TextUtil.def.
	(M2MODS): Add TextUtil.mod.
	* libm2iso/Makefile.in: Regenerate.
	* libm2log/Makefile.in: Regenerate.
	* libm2min/Makefile.in: Regenerate.
	* libm2pim/Makefile.in: Regenerate.

gcc/testsuite/ChangeLog:

	PR modula2/109879
	* gm2/isolib/run/pass/testreadint.mod: New test.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
2023-05-17 00:18:56 +01:00
..
cgetopt.cc PR 109125 Modula2 SIGBUS in m2pim_ldtoa_ldtoa 2023-03-14 19:52:11 +00:00
dtoa.cc PR 109125 13 regression SIGBUS in m2pim_ldtoa_ldtoa 2023-03-15 21:30:33 +00:00
errno.cc modula-2 module registration process seems to fail with shared libraries [PR108261] 2023-02-25 16:28:19 +00:00
ldtoa.cc PR 109125 13 regression SIGBUS in m2pim_ldtoa_ldtoa 2023-03-15 21:30:33 +00:00
Makefile.am libgm2: Adjust 'autogen.sh' to 'ACLOCAL_AMFLAGS', and simplify 2023-05-08 15:51:59 +02:00
Makefile.in PR modula2/109879 WholeIO.ReadCard and ReadInt should consume leading space 2023-05-17 00:18:56 +01:00
sckt.cc Replace bool as boolean instead of int in libgm2 2023-05-13 15:49:50 +01:00
Selective.cc modula-2 module registration process seems to fail with shared libraries [PR108261] 2023-02-25 16:28:19 +00:00
SysExceptions.cc modula-2 module registration process seems to fail with shared libraries [PR108261] 2023-02-25 16:28:19 +00:00
target.c
termios.cc PR 109125 Modula2 SIGBUS in m2pim_ldtoa_ldtoa 2023-03-14 19:52:11 +00:00
UnixArgs.cc modula-2 module registration process seems to fail with shared libraries [PR108261] 2023-02-25 16:28:19 +00:00
wrapc.cc Replace bool as boolean instead of int in libgm2 2023-05-13 15:49:50 +01:00