[Assembler] Remove unused function
MODIFY
src/assembler/lexerutilities.h
src/assembler/lexerutilities.h
namespace Ripes {
-static QStringList splitQuotes(const QStringList& list) {
- // Manual string splitter - splits at ' ' (space) and ',' (comma) characters, unless test is delimitered by quotes
- // or parentheses
- QStringList ret;
- for (const auto& s : list) {
- QString outString;
- bool inQuote = false;
- bool inParen = false;
- for (int i = 0; i < s.length(); i++) {
- inQuote ^= s[i] == '"';
- inParen = (inParen || (s[i] == '(')) && s[i] != ')';
- if ((s[i] == ' ' || s[i] == ',') && !inQuote && !inParen) {
- ret.append(outString);
- outString.clear();
- } else {
- outString.append(s[i]);
- if (i == s.length() - 1)
- ret.append(outString);
- }
- }
- }
- ret.removeAll("");
- return ret;
-}
-
inline int getImmediate(QString string, bool& canConvert) {
string = string.toUpper();
canConvert = false;

[Assembler] Remove unused function