alexapostolu/night

some problems

Closed this issue · 0 comments

ZnPdCo commented

I would like to ask a question. Why doesn't the code run?

if(1 < 2) {
}

And why the definitions of greater than sign, less than sign, greater than or equal sign, less than or equal sign are different, as follows:

{ '>', { { '=', TokenType::ASSIGN }, { '\0', TokenType::BINARY_OP } } },
{ '<', { { '=', TokenType::ASSIGN }, { '\0', TokenType::BINARY_OP } } },

I'm trying to learn to read projects, so there are some places lol