]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
a68: fix comment and magic number in ga68-exports.pk
authorMohammad-Reza Nabipoor <mnabipoor@gnu.org>
Mon, 15 Dec 2025 02:27:36 +0000 (03:27 +0100)
committerJose E. Marchesi <jose.marchesi@oracle.com>
Mon, 15 Dec 2025 06:24:33 +0000 (07:24 +0100)
Signed-off-by: Mohammad-Reza Nabipoor <mnabipoor@gnu.org>
gcc/algol68/ChangeLog

* ga68-exports.pk: Fix comment and value for magic number.

gcc/algol68/ga68-exports.pk

index 86484b8d88939f431925e9f95f1f831836734939..01de350ec4024d675e375d4456948cb7e35af5a2 100644 (file)
@@ -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.