Skip to content

Commit

Permalink
refactor(parser): cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
nullptr0x committed Apr 11, 2024
1 parent aa0e1e5 commit 578aa70
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Swirl/src/parser/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ void Parser::next(bool swsFlg, bool snsFlg) {
}

void Parser::dispatch() {
int br_ind = 0;
int prn_ind = 0;
const char* tmp_ident = "";
const char* tmp_type = "";

m_Stream.next();

// uncomment to check the stream's input for debugging
// while (!m_Stream.eof()) {
// m_Stream.next();
// }

while (!m_Stream.eof()) {
TokenType t_type = m_Stream.p_CurTk.type;
std::string t_val = m_Stream.p_CurTk.value;
Expand Down

0 comments on commit 578aa70

Please sign in to comment.