]> Shamusworld >> Repos - rmac/blobdiff - parmode.h
Fixes for bugs #211-213, submitted by Bastian Schick. :-)
[rmac] / parmode.h
index fe0126166eff2ecd5aee667242c660d48128df38..27863d08c69f65f0886ec64c2ad6cd736cf03ecc 100644 (file)
--- a/parmode.h
+++ b/parmode.h
@@ -934,7 +934,7 @@ IS_SUPPRESSEDn:
                                        // Something really bad happened, abort
                                        return error("reached end of line while parsing expression");
                                }
-                               if (*look_ahead == '(') 
+                               if (*look_ahead == '(')
                                {
                                        if (parenthesis_level == 0)
                                        {
@@ -1221,7 +1221,7 @@ CHK_FOR_DISPn:
                        {
                                // When PC relative is enforced, check for any symbols that aren't
                                // EQU'd, in this case it's an illegal mode
-                               if ((CHECK_OPTS(OPT_PC_RELATIVE)) && (AnEXATTR & (DEFINED | REFERENCED | EQUATED) == (DEFINED | REFERENCED)))
+                               if ((CHECK_OPTS(OPT_PC_RELATIVE)) && ((AnEXATTR & (DEFINED | REFERENCED | EQUATED)) == (DEFINED | REFERENCED)))
                                        return error("relocation not allowed when o30 is enabled");
 
                                tok++;