Minor question on ExprLexer about throwing error
On the line 227 of memri/parsers/expression-parser/ExprLexer.swift
file:
in the both cases of {
, }
, it throws ExprParseErrors.UnexpectedToken(.CurlyBracketOpen(i))
.
Shouldn't it throw ExprParseErrors.UnexpectedToken(.CurlyBracketClose(i))
in the case }
?