]> Shamusworld >> Repos - rmac/blobdiff - parmode.h
Fix for "*" getting bad section attributes, reported by A. Seed.
[rmac] / parmode.h
index 5ef768a44175dbde77b08ffbc58cc078798877b8..543701ace549f4bb9e9ee4c879888a1f6cab2c70 100644 (file)
--- a/parmode.h
+++ b/parmode.h
@@ -3,7 +3,7 @@
 // PARMODE.C - Addressing Modes Parser Include
 // Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends
 // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
-// Source Utilised with the Kind Permission of Landon Dyer
+// Source utilised with the kind permission of Landon Dyer
 //
 
 // This file is included (twice) to parse two addressing modes, into slightly
                        return ERROR;
 
                if (*tok == DOTW)
-               {                                    // expr.W 
+               {
+                       // expr.W 
                        tok++;
                        AMn = ABSW;
                        goto AnOK;
                }
                else if (*tok != '(')
-               {                              // expr[.L]
+               {
+                       // expr[.L]
                        AMn = ABSL;
-                       // Defined, absolute values from $FFFF8000..$00007FFF get optimized to absolute short
 
+                       // Defined, absolute values from $FFFF8000..$00007FFF get optimized
+                       // to absolute short
                        if ((AnEXATTR & (TDB|DEFINED)) == DEFINED && (AnEXVAL + 0x8000) < 0x10000)
                                AMn = ABSW;
 
+                       // Is .L forced here?
                        if (*tok == DOTL)
-                       {                                 // force .L 
+                       {
                                tok++;
                                AMn = ABSL;
                        }