Skip to content

Commit

Permalink
Исправлены метки
Browse files Browse the repository at this point in the history
  • Loading branch information
etar125 committed May 12, 2024
1 parent 05c3811 commit 96694a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tinyss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ TSSException tss::docode(vecstr code)
std::vector<int> lc; // for call command
for(int i = 0; i < cod.size(); i++)
{
if(cur.type != tkntp::com) return TSSException(i, cur, "Command was excepted");
else
if(cur.type != tkntp::com || cur.type != tkntp::lab) return TSSException(i, cur, "Command was excepted");
else if(cur.type == tkntp::com)
{
if(cur.val == "exit") break;
else if(cur.val == "define")
Expand Down

0 comments on commit 96694a3

Please sign in to comment.