summaryrefslogtreecommitdiff
path: root/sdcc-sdas_macro_80_char_overflow.patch
blob: 1500a8d4145cd8f42a59abc45a0cc2951b85860e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
diff --git a/sdas/asxxsrc/asxxxx.h b/sdas/asxxsrc/asxxxx.h
index 3c101b0..6c87180 100644
--- a/sdas/asxxsrc/asxxxx.h
+++ b/sdas/asxxsrc/asxxxx.h
@@ -49,20 +49,22 @@
  *  2-Nov-97 JLH:
  *      - add jflag for debug control
  *      - prototypes for DefineNoICE_Line
  * 30-Jan-98 JLH:
  *      - add memory space flags to a_flag for 8051
  *
  *  3-Feb-00 KV:
  *      - add DS80C390 flat mode support.
  * 10-Nov-07 borutr:
  *      - change a_id from [NCPS] to pointer
+ * 00-Sep-21:
+ *      - change NCPS to 255
  */
 
 /*
  * System Include Files
  */
 
 #include <stdlib.h>
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
@@ -191,21 +193,21 @@
 #define ER_WARNING  1           /* Warning */
 #define ER_ERROR    2           /* Assembly error */
 #define ER_FATAL    3           /* Fatal error */
 
 /*
  * Assembler definitions.
  */
 #define LFTERM      '('         /* Left expression delimeter */
 #define RTTERM      ')'         /* Right expression delimeter */
 
-#define NCPS        80          /* Characters per symbol */
+#define NCPS        255          /* Characters per symbol */
 #define ASXHUGE     1000        /* A huge number */
 #define NERR        3           /* Errors per line */
 #define NINPUT      1024        /* Input buffer size */
 #define NCODE       128         /* Listing code buffer size */
 #define NTITL       80          /* Title buffer size */
 #define NSBTL       80          /* SubTitle buffer size */
 #define NHASH       (1 << 6)    /* Buckets in hash table */
 #define HMASK       (NHASH - 1) /* Hash mask */
 #define NLPP        60          /* Lines per page */
 #define MAXMCR      20          /* Maximum nesting of macro expansions */