1
0
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:
Carsten Larsen
2017-01-08 12:05:28 +01:00
parent 3876f27daa
commit 0f771ca328
6 changed files with 13 additions and 10 deletions

View File

@ -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;