From 3e0a6bcb0f1a6f6bbcf9269f536b827f2c885295 Mon Sep 17 00:00:00 2001 From: michaelh Date: Mon, 14 May 2001 01:26:35 +0000 Subject: [PATCH] Lengthened the maximum filename to 256 chars git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@813 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- as/z80/asm.h | 2 +- as/z80/asmain.c | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/as/z80/asm.h b/as/z80/asm.h index 7d9ea7a9..520f52c4 100644 --- a/as/z80/asm.h +++ b/as/z80/asm.h @@ -82,7 +82,7 @@ #define MAXFIL 6 /* Maximum command line input files */ #define MAXINC 6 /* Maximum nesting of include files */ #define MAXIF 10 /* Maximum nesting of if/else/endif */ -#define FILSPC 80 /* Chars. in filespec */ +#define FILSPC 256 /* Chars. in filespec */ #define NLIST 0 /* No listing */ #define SLIST 1 /* Source only */ diff --git a/as/z80/asmain.c b/as/z80/asmain.c index 9096bbf7..a6463ff2 100644 --- a/as/z80/asmain.c +++ b/as/z80/asmain.c @@ -556,12 +556,13 @@ loop: * symbol, assembler directive, or assembler mnemonic is * being processed. */ - if ((ctype[c] & LETTER) == 0) - if (flevel) { - return; - } else { + if ((ctype[c] & LETTER) == 0) { + if (flevel) { + return; + } else { qerr(); } + } getid(id, c); c = getnb(); /* -- 2.30.2