[PATCH 1/5] a68: fix comment and magic number in ga68-exports.pk
Jose E. Marchesi
jose.marchesi@oracle.com
Mon Dec 15 06:28:35 GMT 2025
Hi Mohammad.
Thanks for the patch. I have applied it on your behalf with a nit
below.
> Signed-off-by: Mohammad-Reza Nabipoor <mnabipoor@gnu.org>
>
> gcc/ChangeLog
>
> * algol68/ga68-exports.pk: Fix comment and value for magic
> number.
The right changelog to use in this case is gcc/algol68/ChangeLog. I
changed the above to:
gcc/algol68/ChangeLog
* algol68/ga68-exports.pk: Fix comment and value for magic number.
In future submissions, please validate the commits with the script in
contrib/gcc-changelog/git_check_commit.py. For example:
$ ./contrib/gcc-changelog/git_check_commit.py
Checking 7352dfc0bb234b94fafb75caa714091fe1e7ba6a: OK
Thanks!
> ---
> gcc/algol68/ga68-exports.pk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gcc/algol68/ga68-exports.pk b/gcc/algol68/ga68-exports.pk
> index 86484b8d889..01de350ec40 100644
> --- a/gcc/algol68/ga68-exports.pk
> +++ b/gcc/algol68/ga68-exports.pk
> @@ -201,7 +201,7 @@ type ga68_mode =
> Mode extracts represent declarations of mode indications, like for
> example `mode Foo = struct (int i, real r)'.
>
> - Identifier extracts represent declarations of constans, variables,
> + Identifier extracts represent declarations of constants, variables,
> procedures and operators. Examples are `real pi = 3.14', `int
> counter', `proc double = (int a) int : a * 2' and `op // = (int a,
> b) int: a % b'.
> @@ -276,7 +276,7 @@ type ga68_extract =
> type ga68_module =
> struct
> {
> - uint<8>[2] magic : magic == [0x0aUB, 0xadUB];
> + uint<8>[2] magic : magic == [0x0aUB, 0x68UB];
> uint<16> version : version == ga68_exports_ver;
>
> /* Module identification.
More information about the Algol68
mailing list