]> Shamusworld >> Repos - rmac/blobdiff - eagen0.c
Update to the name (don't ask), and copyright dates. Now at v2.1.0.
[rmac] / eagen0.c
index 1de45e35475ab741b4dbccd1360a043c59cc0a0c..6506c376bbe3f3cc888b4b25eca9d0eaa8c52596 100644 (file)
--- a/eagen0.c
+++ b/eagen0.c
@@ -1,8 +1,8 @@
 //
-// RMAC - Reboot's Macro Assembler for all Atari computers
+// RMAC - Renamed Macro Assembler for all Atari computers
 // EAGEN0.C - Effective Address Code Generation
 //            Generated Code for eaN (Included twice by "eagen.c")
-// Copyright (C) 199x Landon Dyer, 2011-2020 Reboot and Friends
+// Copyright (C) 199x Landon Dyer, 2011-2021 Reboot and Friends
 // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
 // Source utilised with the kind permission of Landon Dyer
 //
@@ -328,7 +328,7 @@ int eaNgen(WORD siz)
                {
                        if (CHECK_OPTS(OPT_PC_RELATIVE))
                        {
-                               if (aNexattr & (DEFINED | REFERENCED | EQUATED) == DEFINED | REFERENCED)
+                               if ((aNexattr & (DEFINED | REFERENCED | EQUATED)) == (DEFINED | REFERENCED))
                                        return error("relocation not allowed");
                        }