]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[modula2] Comment tidyup in gm2-compiler/M2GCCDeclare.mod
authorGaius Mulley <gaiusmod2@gmail.com>
Sat, 21 Jun 2025 16:18:04 +0000 (17:18 +0100)
committerGaius Mulley <gaiusmod2@gmail.com>
Sat, 21 Jun 2025 16:18:04 +0000 (17:18 +0100)
This patch reformats three comments in the GNU GCC style.

gcc/m2/ChangeLog:

* gm2-compiler/M2GCCDeclare.mod (StartDeclareModuleScopeSeparate):
Reformat statement comments.
(StartDeclareModuleScopeWholeProgram): Ditto.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/gm2-compiler/M2GCCDeclare.mod

index be80695d3e8a17376513435e8f7c95ad62e2e848..860a89ac8b0c6be29ee46dc7ddb71e9883d2f7bb 100644 (file)
@@ -2927,14 +2927,12 @@ BEGIN
       DeclareTypesConstantsProcedures(scope) ; (* will resolved TYPEs and CONSTs on the ToDo  *)
                                                (* lists.                                      *)
       ForeachModuleDo(DeclareProcedure) ;
-      (*
-         now that all types have been resolved it is safe to declare
-         variables
-      *)
+      (* Now that all types have been resolved it is safe to declare
+         variables.  *)
       AssertAllTypesDeclared(scope) ;
       DeclareGlobalVariables(scope) ;
       ForeachImportedDo(scope, DeclareImportedVariables) ;
-      (* now it is safe to declare all procedures *)
+      (* Now it is safe to declare all procedures.  *)
       ForeachProcedureDo(scope, DeclareProcedure) ;
       ForeachInnerModuleDo(scope, WalkTypesInModule) ;
       ForeachInnerModuleDo(scope, DeclareTypesConstantsProcedures) ;
@@ -2963,14 +2961,12 @@ BEGIN
                                                (* lists.                                      *)
       ForeachModuleDo(DeclareProcedure) ;
       ForeachModuleDo(DeclareModuleInit) ;
-      (*
-         now that all types have been resolved it is safe to declare
-         variables
-      *)
+      (* Now that all types have been resolved it is safe to declare
+         variables.  *)
       AssertAllTypesDeclared(scope) ;
       DeclareGlobalVariablesWholeProgram(scope) ;
       ForeachImportedDo(scope, DeclareImportedVariablesWholeProgram) ;
-      (* now it is safe to declare all procedures *)
+      (* Now it is safe to declare all procedures.  *)
       ForeachProcedureDo(scope, DeclareProcedure) ;
       ForeachInnerModuleDo(scope, WalkTypesInModule) ;
       ForeachInnerModuleDo(scope, DeclareTypesConstantsProcedures) ;