[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gm2] fix to gm2m in git trunk
From: |
Gaius Mulley |
Subject: |
[Gm2] fix to gm2m in git trunk |
Date: |
Tue, 30 Apr 2019 12:02:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Hello,
I've git pushed many fixes to the colour error messages in trunk and
also fixed a bug associated with the -fmakeall option (gm2m failed to
parse the module and bailed out saying expecting IMPLEMENTATION, MODULE
or DEFINITION). I'll back port this bug fix to the 8.2.0 series and
rebuild the debian package.
Here are the recent changelog entries:
* gm2/Make-lang.in: corrected front end name.
* gm2/bnf/gm2m.bnf: updated the GPL address. Removed
unnecessary forward declarations. Adjusted comment for GNU
coding standards.
* gm2/gm2-compiler/M2LexBuf.mod: improved diagnostic routines.
* gm2/gm2-compiler/M2Students.mod: replaced M2Error string based
routines with new M2MetaError routines (which generate GCC notes).
* gm2/gm2-compiler/P2SymBuild.mod: (MakeVar) call
CheckForVariableThatLooksLikeKeyword.
* gm2/mc-boot/GDynamicStrings.c: (rebuilt).
* gm2/mc-boot/GFIO.c: (rebuilt).
* gm2/mc-boot/GNumberIO.c: (rebuilt).
* gm2/mc-boot/GRTExceptions.c: (rebuilt).
* gm2/mc-boot/GRTint.c: (rebuilt).
* gm2/mc-boot/GStringConvert.c: (rebuilt).
* gm2/mc-boot/Galists.c: (rebuilt).
* gm2/mc-boot/Gdecl.c: (rebuilt).
* gm2/mc-boot/Gkeyc.c: (rebuilt).
* gm2/mc-boot/GmcComment.c: (rebuilt).
* gm2/mc-boot/GmcComp.c: (rebuilt).
* gm2/mc-boot/GmcError.c: (rebuilt).
* gm2/mc-boot/GmcLexBuf.c: (rebuilt).
* gm2/mc-boot/GmcStream.c: (rebuilt).
* gm2/mc-boot/Gmcp1.c: (rebuilt).
* gm2/mc-boot/Gmcp2.c: (rebuilt).
* gm2/mc-boot/Gmcp3.c: (rebuilt).
* gm2/mc-boot/Gmcp4.c: (rebuilt).
* gm2/mc-boot/Gmcp5.c: (rebuilt).
* gm2/mc-boot/GnameKey.c: (rebuilt).
* gm2/mc-boot/GsymbolKey.c: (rebuilt).
* gm2/mc-boot/Gtop.c: (rebuilt).
* gm2/mc-boot/Gvarargs.c: (rebuilt).
* gm2/mc-boot/Gwlists.c: (rebuilt).
* gm2/mc/decl.mod: detect dangling else for nested if statements.
Fixes a bug reported by Derek Wyss (gm2m fails to pass a module).
* testsuite/gm2/pim/pass/ABSBug.mod: added line break.
* gm2/gm2-compiler/M2MetaError.mod: improved InternalFormat
error message.
* gm2/gm2-compiler/M2Students.mod: (PerformVariableKeywordCheck)
duplicate string. (CheckAsciiName) correct parameter order so
that scope and variable name are correct.
* gm2/gm2-libs-ch/Selective.c: fixed copyright notice.
Also removed references to p2c and added GCC header
config and portable include files. Tidied up comments
and made them GNU compliant.
* libgm2/libpim/Selective.c: fixed copyright notice.
Tidied up comments and made them GNU compliant.
* gm2/Make-lang.in: make xlibc.o dependant upon gm2-libs-host.h.
(stage2/gm2/gm2m$(exeext)) rewritten rule to use $(LINKER).
gm2m links with tools.o.
* gm2/gm2-libs-ch/xlibc.c: implement xstrdup.
* gm2/gm2-libs-ch/tools.c: New file.
* gm2/gm2-compiler/M2MetaError.def: (MetaErrorT0)
declare and export.
* gm2/gm2-compiler/M2MetaError.mod: (pop) copy
the error type back to the caller. (MetaErrorT0)
new procedure.
* gm2/gm2-compiler/M2Range.mod: import (MetaErrorT0)
and replace MetaErrorT1 with MetaErrorT0. Ensure that
all warnings are have the 'W' format specifier.
Ensure that all errors use 'E' for consistency.
* gm2/gm2-compiler/M2GenGCC.mod: (DescribeError)
corrected symbol numbers.
* gm2/gm2-compiler/M2MetaError.def: large number of
additions new format specifiers 'S', 'T', 'u', 'k'.
* gm2/gm2-compiler/M2MetaError.mod: much debugging code
added and bug fixes for color changes implemented.
Also implemented the above format specifiers.
* gm2/gm2-compiler/M2Quads.mod: (FailParameter) and
(WarnParameter) use new format specifiers in M2MetaError.
* gm2/gm2-compiler/M2MetaError.def: added MetaErrorString0.
* gm2/gm2-compiler/M2MetaError.mod: many bug fixes which
implement coloring when concatenating strings.
* gm2/gm2-compiler/M2Students.mod:
(CheckForVariableThatLooksLikeKeyword) New procedure.
(PerformVariableKeywordCheck) re-implemented to use
MetaErrorString0.
* gm2/gm2-compiler/SymbolTable.mod: re-implemented
CheckForSymbols using the MetaError substructure.
* gm2/Makefile.in: removed purge of p2c components.
* gm2/gm2-gcc/m2expr.c: corrected comment formatting.
* gm2/gm2-internals.texi: added a line saying this is out of
date.
* gm2/gm2builtins.c: removed.
* gm2/gm2except.c: removed.
* gm2/p2c: removed directory.
* gm2/p2crc: removed.
* testsuite/gm2/pim/run/pass/integer.mod: added
* testsuite/gm2/pim/fail/integer.mod: added
regards,
Gaius
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gm2] fix to gm2m in git trunk,
Gaius Mulley <=