]> Shamusworld >> Repos - rmac/blobdiff - symbol.c
Increase line lengths for listing and line parser.
[rmac] / symbol.c
index f2f513cc3671aa0ca652d7be9f300c40fd8281d4..8828cbe7e5f6e47c8f854f4c7c6f2a7b3b43def6 100644 (file)
--- a/symbol.c
+++ b/symbol.c
@@ -390,8 +390,8 @@ int symtable(void)
        SYM * r;
        SYM * k;
        SYM * colptr[4];
-       char ln[200];
-       char ln1[200];
+       char ln[1024];
+       char ln1[1024];
        char ln2[20];
        char c, c1;
        WORD w;
@@ -400,7 +400,7 @@ int symtable(void)
 
        // Allocate storage for list headers and partition all labels. Throw away
        // macros and macro arguments.
-       SYM ** sy = (SYM **)malloc(128 * sizeof(uint32_t));
+       SYM ** sy = (SYM **)malloc(128 * sizeof(SYM **));
 
        for(i=0; i<128; i++)
                sy[i] = NULL;