]> git.sur5r.net Git - cc65/blobdiff - src/cc65/codelab.c
Typo
[cc65] / src / cc65 / codelab.c
index 9e3b93765f64ebf69b57dd13a45433e4d7b1ec6d..f36520835bef31d126ec1d0e96f9469981c7225e 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                codelab.c                                 */
+/*                                 codelab.c                                 */
 /*                                                                           */
-/*                          Code label structure                            */
+/*                           Code label structure                            */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
@@ -45,7 +45,7 @@
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -101,19 +101,19 @@ void CL_AddRef (CodeLabel* L, struct CodeEntry* E)
 
 void CL_MoveRefs (CodeLabel* OldLabel, CodeLabel* NewLabel)
 /* Move all references to OldLabel to point to NewLabel. OldLabel will have no
- * more references on return.
- */
+** more references on return.
+*/
 {
     /* Walk through all instructions referencing the old label */
     unsigned Count = CL_GetRefCount (OldLabel);
     while (Count--) {
 
-       /* Get the instruction that references the old label */
-       CodeEntry* E = CL_GetRef (OldLabel, Count);
+        /* Get the instruction that references the old label */
+        CodeEntry* E = CL_GetRef (OldLabel, Count);
 
-       /* Change the reference to the new label */
-       CHECK (E->JumpTo == OldLabel);
-       CL_AddRef (NewLabel, E);
+        /* Change the reference to the new label */
+        CHECK (E->JumpTo == OldLabel);
+        CL_AddRef (NewLabel, E);
 
     }
 
@@ -128,11 +128,7 @@ void CL_Output (const CodeLabel* L)
 {
     WriteOutput ("%s:", L->Name);
     if (strlen (L->Name) > 6) {
-       /* Label is too long, add a linefeed */
-       WriteOutput ("\n");
+        /* Label is too long, add a linefeed */
+        WriteOutput ("\n");
     }
 }
-
-
-
-