mirror of
https://gitlab.com/rnger/amath
synced 2025-10-06 02:49:59 +00:00
Code cleanup
modified: app/lib/ntext.cpp modified: app/main/lexer.cpp modified: app/system/language.cpp modified: app/system/language_posix.cpp modified: app/system/preferences_stdc.cpp modified: lib/real/pow.c modified: lib/platform.h
This commit is contained in:
@ -45,7 +45,7 @@ Lexer::~Lexer()
|
||||
delete [] input;
|
||||
|
||||
if (first != NOMEM) {
|
||||
delete first;
|
||||
delete [] first;
|
||||
}
|
||||
}
|
||||
|
||||
@ -205,7 +205,7 @@ bool Lexer::GetDigitValue()
|
||||
*(text + len) = '\0';
|
||||
|
||||
current = new Token(current, symnumber, text, pos);
|
||||
delete text;
|
||||
delete [] text;
|
||||
delete number;
|
||||
|
||||
pos += len;
|
||||
|
Reference in New Issue
Block a user