Generalize FxArrayElement to work with all numeric elements (not just 32-bit ints)
This commit is contained in:
parent
0cc2705b99
commit
3357af32e5
2 changed files with 23 additions and 10 deletions
|
|
@ -588,7 +588,6 @@ static void ParseUserVariable (FScanner &sc, PSymbolTable *symt, PClassActor *cl
|
|||
sym->Offset = cls->Extend(type);
|
||||
if (symt->AddSymbol(sym) == NULL)
|
||||
{
|
||||
delete sym;
|
||||
sc.ScriptMessage ("'%s' is already defined in '%s'.",
|
||||
symname.GetChars(), cls ? cls->TypeName.GetChars() : "Global");
|
||||
FScriptPosition::ErrorCounter++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue