X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=symbol.c;h=6700f149968511a9a707660f03a9ab01ff4241af;hp=f2f513cc3671aa0ca652d7be9f300c40fd8281d4;hb=05d0350b35a6a6b255cb2a3fab7796f5d4ee4d02;hpb=60f204cb9e3905100da0d89f14bb40db764acd9e diff --git a/symbol.c b/symbol.c index f2f513c..6700f14 100644 --- a/symbol.c +++ b/symbol.c @@ -1,7 +1,7 @@ // -// RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System +// RMAC - Reboot's Macro Assembler for all Atari computers // SYMBOL.C - Symbol Handling -// Copyright (C) 199x Landon Dyer, 2011-2012 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2017 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source utilised with the kind permission of Landon Dyer // @@ -382,7 +382,6 @@ void ToUppercase(uint8_t * s) // int symtable(void) { - extern int pagelen; int i; int j; SYM * q = NULL; @@ -390,8 +389,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 +399,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;