Skip to content

Commit

Permalink
Update parse.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
silas-wr authored Jul 26, 2024
1 parent 34b410f commit 454762b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/crate/parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,10 @@ Program parse(const vector<Token> tlist) {
eol = false;
eof = false;
if (load_type == "") {
// load_var.push_back(tok);
load_var.push_back(tok);
load_type = "incb";
} else if (load_type == "id") {
// load_var.push_back(tok);
load_var.push_back(tok);
load_type = "incer";
} else if (find(icdc.begin(), icdc.end(), load_type) != icdc.end()) {
load_var.clear();
Expand All @@ -229,10 +229,10 @@ Program parse(const vector<Token> tlist) {
eol = false;
eof = false;
if (load_type == "") {
// load_var.push_back(tok);
load_var.push_back(tok);
load_type = "decb";
} else if (load_type == "id") {
// load_var.push_back(tok);
load_var.push_back(tok);
load_type = "decer";
} else if (find(icdc.begin(), icdc.end(), load_type) != icdc.end()) {
load_var.clear();
Expand Down

0 comments on commit 454762b

Please sign in to comment.