refactor: token names and misc

This commit is contained in:
3lswear
2022-01-22 14:07:54 +03:00
parent 51a3050beb
commit d9f3330440
3 changed files with 342 additions and 334 deletions

View File

@@ -108,13 +108,13 @@ namespace config
}
else
{
token.type = ARR_OPEN;
token.type = OPEN_BRACKET;
file.seekg(prev_pos);
}
}
else if (c == ']')
token.type = ARR_CLOSE;
token.type = CLOSE_BRACKET;
else if (c == '=')
token.type = ASSIGN;
else if (c == '\n')