]> git.gag.com Git - fw/sdcc/blobdiff - as/z80/assym.c
* as/as_gbz80.dsp, as/z80/as_gbz80.dsp,
[fw/sdcc] / as / z80 / assym.c
index 1ef7cc7675e9fdee89a542ec5a994e0c571c1f92..771f5320bffbe4e8ff30ff697773f0b125d1ee19 100644 (file)
@@ -12,7 +12,7 @@
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include "asm.h"
 
 /*)Module      assym.c
@@ -181,7 +181,7 @@ char *id;
        h = hash(id);
        mp = mnehash[h];
        while (mp) {
-               if (symeq(id, mp->m_id))
+               if (as_strcmpi(id, mp->m_id) == 0)      /* JLH: case insensitive */
                        return (mp);
                mp = mp->m_mp;
        }
@@ -382,7 +382,7 @@ register char *p1, *p2;
  *     side effects:
  *             none
  */
+
 int
 hash(p)
 register char *p;