a module can start with a digit
[fw/sdcc] / as / z80 / asmain.c
index 19099878803ec9f7c0b8dd06e4ccad382efae488..976248a392e4c0c61a82f80927dc3587d28d72e3 100644 (file)
@@ -839,7 +839,7 @@ loop:
                break;
 
        case S_MODUL:
-               getst(id, -1);
+               getst(id, getnb()); // a module can start with a digit
                if (pass == 0) {
                        if (module[0]) {
                                err('m');