diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2024-03-18 00:16:48 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2024-03-18 00:16:48 +0000 |
commit | 27d2e933a0dbe4fb0a2e4ebac7811dc38b913553 (patch) | |
tree | c3220a4d7e18afa4003cc6e87a3e91cbcaab5c1a /gcc/m2 | |
parent | 3f3f0b7ee8022776d69ecaed1375e1559716f226 (diff) | |
download | gcc-27d2e933a0dbe4fb0a2e4ebac7811dc38b913553.zip gcc-27d2e933a0dbe4fb0a2e4ebac7811dc38b913553.tar.gz gcc-27d2e933a0dbe4fb0a2e4ebac7811dc38b913553.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc/m2')
-rw-r--r-- | gcc/m2/ChangeLog | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gcc/m2/ChangeLog b/gcc/m2/ChangeLog index b051f01..bd5a564 100644 --- a/gcc/m2/ChangeLog +++ b/gcc/m2/ChangeLog @@ -1,3 +1,44 @@ +2024-03-17 Gaius Mulley <gaiusmod2@gmail.com> + + PR modula2/114296 + * gm2-compiler/M2ALU.mod (ElementsSolved): Add tokenno parameter. + Add constant checks and generate error messages. + (EvalSetValues): Pass tokenno parameter to ElementsSolved. + * gm2-compiler/M2LexBuf.mod (stop): New procedure. + (MakeVirtualTok): Call stop if caret = BadTokenNo. + * gm2-compiler/M2Quads.def (BuildNulExpression): Add tokpos + parameter. + (BuildSetStart): Ditto. + (BuildEmptySet): Ditto. + (BuildConstructorEnd): Add startpos parameter. + (BuildTypeForConstructor): Add tokpos parameter. + * gm2-compiler/M2Quads.mod (BuildNulExpression): Add tokpos + parameter and push tokpos to the quad stack. + (BuildSetStart): Add tokpos parameter and push tokpos. + (BuildSetEnd): Rewrite. + (BuildEmptySet): Add tokpos parameter and push tokpos with + the set type. + (BuildConstructorStart): Pop typepos. + (BuildConstructorEnd): Add startpos parameter. + Create valtok from startpos and cbratokpos. + (BuildTypeForConstructor): Add tokpos parameter. + * gm2-compiler/M2Range.def (InitAssignmentRangeCheck): Rename + d to des and e to expr. + Add destok and exprtok parameters. + * gm2-compiler/M2Range.mod (InitAssignmentRangeCheck): Rename + d to des and e to expr. + Add destok and exprtok parameters. + Save destok and exprtok into range record. + (FoldAssignment): Pass exprtok to TryDeclareConstant. + * gm2-compiler/P3Build.bnf (ComponentValue): Rewrite. + (Constructor): Rewrite. + (ConstSetOrQualidentOrFunction): Rewrite. + (SetOrQualidentOrFunction): Rewrite. + * gm2-compiler/PCBuild.bnf (ConstSetOrQualidentOrFunction): Rewrite. + (SetOrQualidentOrFunction): Rewrite. + * gm2-compiler/PHBuild.bnf (Constructor): Rewrite. + (ConstSetOrQualidentOrFunction): Rewrite. + 2024-03-14 Gaius Mulley <gaiusmod2@gmail.com> PR modula2/114294 |