Oops! Missed something in the refactor for arrays.
This commit is contained in:
parent
cf5f58f1bc
commit
8d2f98aa53
|
@ -490,9 +490,9 @@ void AsNewSymb(int ID) {
|
||||||
|
|
||||||
for(int i = 0; i < Symbols[ID].Length; i++) {
|
for(int i = 0; i < Symbols[ID].Length; i++) {
|
||||||
switch(TypeSize) {
|
switch(TypeSize) {
|
||||||
case 1: fprintf(OutputFile, "%s:\t.byte\t0\n", Symbols[ID].Name); break;
|
case 1: fprintf(OutputFile, "\t.byte\t0\n", Symbols[ID].Name); break;
|
||||||
case 4: fprintf(OutputFile, "%s:\t.long\t0\n", Symbols[ID].Name); break;
|
case 4: fprintf(OutputFile, "\t.long\t0\n", Symbols[ID].Name); break;
|
||||||
case 8: fprintf(OutputFile, "%s:\t.quad\t0\n", Symbols[ID].Name); break;
|
case 8: fprintf(OutputFile, "\t.quad\t0\n", Symbols[ID].Name); break;
|
||||||
default: DieDecimal("Unknown type in AsNewSymbol", TypeSize); break;
|
default: DieDecimal("Unknown type in AsNewSymbol", TypeSize); break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user