diff options
author | Gaius Mulley <gaius.mulley@southwales.ac.uk> | 2022-05-18 13:01:24 +0100 |
---|---|---|
committer | Gaius Mulley <gaius.mulley@southwales.ac.uk> | 2022-05-18 13:01:24 +0100 |
commit | a6dce3480f0bd34e62c0ebd3ab4dff1e78fcf6d1 (patch) | |
tree | b602c582a37208cb9f306fe315e8dafee6998a7e | |
parent | bec4c840b3ad47b369304d1cc4bf35b1ebb38c96 (diff) | |
download | gcc-a6dce3480f0bd34e62c0ebd3ab4dff1e78fcf6d1.zip gcc-a6dce3480f0bd34e62c0ebd3ab4dff1e78fcf6d1.tar.gz gcc-a6dce3480f0bd34e62c0ebd3ab4dff1e78fcf6d1.tar.bz2 |
Tidy up dates and correct spelling in documentation.
gcc/ChangeLog:
* doc/gm2.texi: Corrected spelling and spaces between sentances.
gm2tools/ChangeLog:
* Corrected dates on all source files.
libgm2/ChangeLog:
* Corrected dates on all source files.
Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>
36 files changed, 52 insertions, 45 deletions
diff --git a/gcc/doc/gm2.texi b/gcc/doc/gm2.texi index 7499448..fb12f91 100644 --- a/gcc/doc/gm2.texi +++ b/gcc/doc/gm2.texi @@ -1409,19 +1409,18 @@ Modula-2 language as defined in ISO/IEC Information technology - programming languages - part 1: Modula-2 Language, ISO/IEC 10514-1 (1996) (ISO). -The command line switches @samp{-fpim2}, @samp{-fpim3}, -@samp{-fpim4} and @samp{-fiso} can be used to force mutually -exclusive features. However by default the compiler will not -agressively fail if a non mutually exclusive feature is used -from another dialect. For example it is possible to specify -@samp{-fpim2} and still utilise @samp{DEFINITION} @samp{MODULES} -which have no export list. +The command line switches @samp{-fpim2}, @samp{-fpim3}, @samp{-fpim4} +and @samp{-fiso} can be used to force mutually exclusive +features. However by default the compiler will not aggressively fail +if a non mutually exclusive feature is used from another dialect. For +example it is possible to specify @samp{-fpim2} and still utilise +@samp{DEFINITION} @samp{MODULES} which have no export list. Some dialect differences will force a compile time error, for example in PIM2 the user must @code{IMPORT} @code{SIZE} from the module @code{SYSTEM}, whereas in PIM3 and PIM4 @code{SIZE} is a pervasive -function. Thus compiling PIM4 source code with the @samp{-fpim2} -switch will cause a compile time error. This can be fixed quickly +function. Thus compiling PIM4 source code with the @samp{-fpim2} +switch will cause a compile time error. This can be fixed quickly with an additional @code{IMPORT} or alternatively by compiling with the @samp{-fpim4} switch. @@ -1435,7 +1434,7 @@ The most dangerous set of mutually exclusive features found in the four dialects supported by GNU Modula-2 are the @code{INTEGER} division, remainder and modulus arithmetic operators. It is important to note that the same source code can be compiled to give different -runtime results depending upon these switches! The reference manual +runtime results depending upon these switches! The reference manual for the various dialects of Modula-2 are quite clear about this behaviour and sadly there are three distinct definitions. diff --git a/gcc/m2/gm2-gcc/README b/gcc/m2/gm2-gcc/README index ee8c674..c671ac2 100644 --- a/gcc/m2/gm2-gcc/README +++ b/gcc/m2/gm2-gcc/README @@ -1,5 +1,5 @@ This directory contains the interface code between the Modula-2 front end and GCC. In effect this is the Modula-2 compiler GCC Tree API. It is an internal API only. Many of these filenames match their GCC C -family counterparts. So for example m2decl.def and m2decl.c are the -Modula-2 front end version of c-decl.c. +family counterparts. So for example m2decl.def and m2decl.cc are the +Modula-2 front end version of c-decl.cc. diff --git a/gm2tools/ChangeLog b/gm2tools/ChangeLog index dd7a370..fc1b952 100644 --- a/gm2tools/ChangeLog +++ b/gm2tools/ChangeLog @@ -1,3 +1,7 @@ +2022-05-17 Gaius Mulley <gaius.mulley@southwales.ac.uk> + + * Corrected dates on all source files. + 2021-06-14 Gaius Mulley <gaius.mulley@southwales.ac.uk> * errors.c: (New file). diff --git a/gm2tools/Makefile.am b/gm2tools/Makefile.am index 72c79e8..6aedf36 100644 --- a/gm2tools/Makefile.am +++ b/gm2tools/Makefile.am @@ -1,5 +1,5 @@ # Makefile for gm2tools -# Copyright (C) 2021 Free Software Foundation, Inc. +# Copyright (C) 2021-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gm2tools/autogen.sh b/gm2tools/autogen.sh index c4607c0..ea0ef76 100755 --- a/gm2tools/autogen.sh +++ b/gm2tools/autogen.sh @@ -1,7 +1,7 @@ #!/bin/sh # autogen.sh regenerate the autoconf files. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gm2tools/configure.ac b/gm2tools/configure.ac index 15ca36e..15a6440 100644 --- a/gm2tools/configure.ac +++ b/gm2tools/configure.ac @@ -1,5 +1,5 @@ # Configure script for gm2tools. -# Copyright (C) 2021 Free Software Foundation, Inc. +# Copyright (C) 2021-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by diff --git a/gm2tools/errors.c b/gm2tools/errors.c index e717cce..e48f08e 100644 --- a/gm2tools/errors.c +++ b/gm2tools/errors.c @@ -1,6 +1,6 @@ /* error.c provide C version of fancy_abort. -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2021-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius@glam.ac.uk>. This file is part of GNU Modula-2. diff --git a/gm2tools/m2color.c b/gm2tools/m2color.c index 8f873ec..1fe42fc 100644 --- a/gm2tools/m2color.c +++ b/gm2tools/m2color.c @@ -1,6 +1,6 @@ /* m2color.c interface to gcc colorization. -Copyright (C) 2021 Free Software Foundation, Inc. +Copyright (C) 2021-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius@glam.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/ChangeLog b/libgm2/ChangeLog index 950f682..3e63497 100644 --- a/libgm2/ChangeLog +++ b/libgm2/ChangeLog @@ -1,3 +1,7 @@ +2022-05-17 Gaius Mulley <gaius.mulley@southwales.ac.uk> + + * Corrected dates on all source files. + 2022-03-02 Gaius Mulley <gaius.mulley@southwales.ac.uk> * libm2pim/sckt.c (tcpServerEstablishPort): Corrected spelling. diff --git a/libgm2/Makefile.am b/libgm2/Makefile.am index 24d48fd..ca95351 100644 --- a/libgm2/Makefile.am +++ b/libgm2/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libgm2. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/autogen.sh b/libgm2/autogen.sh index c4607c0..ea0ef76 100755 --- a/libgm2/autogen.sh +++ b/libgm2/autogen.sh @@ -1,7 +1,7 @@ #!/bin/sh # autogen.sh regenerate the autoconf files. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/configure.ac b/libgm2/configure.ac index 83c7212..3f12def 100644 --- a/libgm2/configure.ac +++ b/libgm2/configure.ac @@ -1,5 +1,5 @@ # Configure script for libgm2. -# Copyright (C) 2013-2021 Free Software Foundation, Inc. +# Copyright (C) 2013-2022 Free Software Foundation, Inc. # This file is part of GCC. diff --git a/libgm2/libm2cor/KeyBoardLEDs.c b/libgm2/libm2cor/KeyBoardLEDs.c index 922db2d..2fa0b23 100644 --- a/libgm2/libm2cor/KeyBoardLEDs.c +++ b/libgm2/libm2cor/KeyBoardLEDs.c @@ -1,6 +1,6 @@ /* KeyBoardLEDs.c provide access to the keyboard LEDs. -Copyright (C) 2005-2021 Free Software Foundation, Inc. +Copyright (C) 2005-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2cor/Makefile.am b/libgm2/libm2cor/Makefile.am index afca859..55d6755 100644 --- a/libgm2/libm2cor/Makefile.am +++ b/libgm2/libm2cor/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libm2cor. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/libm2iso/ChanConsts.h b/libgm2/libm2iso/ChanConsts.h index 4fba640..78a5321 100644 --- a/libgm2/libm2iso/ChanConsts.h +++ b/libgm2/libm2iso/ChanConsts.h @@ -1,6 +1,6 @@ /* ChanConsts.h provides a C header file for ISO ChanConst.def. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2iso/ErrnoCategory.c b/libgm2/libm2iso/ErrnoCategory.c index 4af8834..a64478f 100644 --- a/libgm2/libm2iso/ErrnoCategory.c +++ b/libgm2/libm2iso/ErrnoCategory.c @@ -1,6 +1,6 @@ /* ErrnoCatogory.c categorizes values of errno maps onto ChanConsts.h. -Copyright (C) 2008-2021 Free Software Foundation, Inc. +Copyright (C) 2008-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2iso/Makefile.am b/libgm2/libm2iso/Makefile.am index 716767a..3d47d96 100644 --- a/libgm2/libm2iso/Makefile.am +++ b/libgm2/libm2iso/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libm2iso. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/libm2iso/RTco.c b/libgm2/libm2iso/RTco.c index 06a1e81..c011f2d 100644 --- a/libgm2/libm2iso/RTco.c +++ b/libgm2/libm2iso/RTco.c @@ -1,6 +1,6 @@ /* RTco.c provides minimal access to thread primitives. -Copyright (C) 2019-2021 Free Software Foundation, Inc. +Copyright (C) 2019-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. @@ -125,7 +125,7 @@ signalSem (threadSem *sem) __gthread_cond_signal (&sem->counter); else sem->sem_value++; - __gthread_mutex_unlock (&sem->mutex); + __gthread_mutex_unlock (&sem->mutex); } void stop (void) {} diff --git a/libgm2/libm2iso/wrapsock.c b/libgm2/libm2iso/wrapsock.c index 805c6a9..d0948ac 100644 --- a/libgm2/libm2iso/wrapsock.c +++ b/libgm2/libm2iso/wrapsock.c @@ -1,6 +1,6 @@ /* wrapsock.c provides access to socket related system calls. -Copyright (C) 2008-2021 Free Software Foundation, Inc. +Copyright (C) 2008-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2iso/wraptime.c b/libgm2/libm2iso/wraptime.c index 61e1b53..bdaa758 100644 --- a/libgm2/libm2iso/wraptime.c +++ b/libgm2/libm2iso/wraptime.c @@ -1,6 +1,6 @@ /* wraptime.c provides access to time related system calls. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2log/Break.c b/libgm2/libm2log/Break.c index 5deddb3..0b878d8 100644 --- a/libgm2/libm2log/Break.c +++ b/libgm2/libm2log/Break.c @@ -1,6 +1,6 @@ /* Break.c implements an interrupt handler for SIGINT. -Copyright (C) 2004-2021 Free Software Foundation, Inc. +Copyright (C) 2004-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2log/Makefile.am b/libgm2/libm2log/Makefile.am index 461612d..26b23ca 100644 --- a/libgm2/libm2log/Makefile.am +++ b/libgm2/libm2log/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libm2log. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/libm2min/Makefile.am b/libgm2/libm2min/Makefile.am index 70187a4..c15cdbe 100644 --- a/libgm2/libm2min/Makefile.am +++ b/libgm2/libm2min/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libm2min. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/libm2min/libc.c b/libgm2/libm2min/libc.c index 5672498..29ef066 100644 --- a/libgm2/libm2min/libc.c +++ b/libgm2/libm2min/libc.c @@ -1,6 +1,6 @@ /* libc.c provides minimal stubs for expected symbols used by the rts. -Copyright (C) 2010-2021 Free Software Foundation, Inc. +Copyright (C) 2010-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/Makefile.am b/libgm2/libm2pim/Makefile.am index 1831a2bf..e8dc508 100644 --- a/libgm2/libm2pim/Makefile.am +++ b/libgm2/libm2pim/Makefile.am @@ -1,5 +1,5 @@ # Makefile for libm2pim. -# Copyright 2013-2021 Free Software Foundation, Inc. +# Copyright 2013-2022 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/libgm2/libm2pim/Selective.c b/libgm2/libm2pim/Selective.c index 0f7703b..e03c68b 100644 --- a/libgm2/libm2pim/Selective.c +++ b/libgm2/libm2pim/Selective.c @@ -1,6 +1,6 @@ /* Selective.c provide access to timeval and select. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/SysExceptions.c b/libgm2/libm2pim/SysExceptions.c index c8d548b..59d7cbf 100644 --- a/libgm2/libm2pim/SysExceptions.c +++ b/libgm2/libm2pim/SysExceptions.c @@ -1,6 +1,6 @@ /* SysExceptions.c configure the signals to create m2 exceptions. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/UnixArgs.c b/libgm2/libm2pim/UnixArgs.c index f8a7662..daede41 100644 --- a/libgm2/libm2pim/UnixArgs.c +++ b/libgm2/libm2pim/UnixArgs.c @@ -1,6 +1,6 @@ /* UnixArgs.c record argc, argv as global variables. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/cgetopt.c b/libgm2/libm2pim/cgetopt.c index 7435118..001d151 100644 --- a/libgm2/libm2pim/cgetopt.c +++ b/libgm2/libm2pim/cgetopt.c @@ -1,6 +1,6 @@ /* getopt.c provide access to the C getopt library. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/dtoa.c b/libgm2/libm2pim/dtoa.c index 15286b2..0a079a5 100644 --- a/libgm2/libm2pim/dtoa.c +++ b/libgm2/libm2pim/dtoa.c @@ -1,6 +1,6 @@ /* dtoa.c convert double to ascii and visa versa. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/errno.c b/libgm2/libm2pim/errno.c index 6400fff..54d93b2 100644 --- a/libgm2/libm2pim/errno.c +++ b/libgm2/libm2pim/errno.c @@ -1,6 +1,6 @@ /* errno.c provide access to the errno value. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/ldtoa.c b/libgm2/libm2pim/ldtoa.c index cee2f7f..540ee70 100644 --- a/libgm2/libm2pim/ldtoa.c +++ b/libgm2/libm2pim/ldtoa.c @@ -1,6 +1,6 @@ /* ldtoa.c convert long double to ascii and visa versa. -Copyright (C) 2009-2021 Free Software Foundation, Inc. +Copyright (C) 2009-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/sckt.c b/libgm2/libm2pim/sckt.c index 626a450..76d9934 100644 --- a/libgm2/libm2pim/sckt.c +++ b/libgm2/libm2pim/sckt.c @@ -1,6 +1,6 @@ /* sckt.c provide access to the socket layer. -Copyright (C) 2005-2021 Free Software Foundation, Inc. +Copyright (C) 2005-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/target.c b/libgm2/libm2pim/target.c index 838ffd1..0e66391 100644 --- a/libgm2/libm2pim/target.c +++ b/libgm2/libm2pim/target.c @@ -1,6 +1,6 @@ /* target.c provide access to miscellaneous math functions. -Copyright (C) 2005-2021 Free Software Foundation, Inc. +Copyright (C) 2005-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/termios.c b/libgm2/libm2pim/termios.c index c9cbfd9..8833df1 100644 --- a/libgm2/libm2pim/termios.c +++ b/libgm2/libm2pim/termios.c @@ -1,6 +1,6 @@ /* termios.c provide access to the terminal. -Copyright (C) 2010-2021 Free Software Foundation, Inc. +Copyright (C) 2010-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. diff --git a/libgm2/libm2pim/wrapc.c b/libgm2/libm2pim/wrapc.c index b3d118a..cfbcf7b 100644 --- a/libgm2/libm2pim/wrapc.c +++ b/libgm2/libm2pim/wrapc.c @@ -1,6 +1,6 @@ /* wrapc.c provide access to miscellaneous C library functions. -Copyright (C) 2005-2021 Free Software Foundation, Inc. +Copyright (C) 2005-2022 Free Software Foundation, Inc. Contributed by Gaius Mulley <gaius.mulley@southwales.ac.uk>. This file is part of GNU Modula-2. |