Removed unnecessary assertion.
This commit is contained in:
parent
29233a7430
commit
c63d74092e
@ -216,7 +216,6 @@ inline output::ColorStream &operator<<(output::ColorStream &stream, const String
|
||||
inline output::ColorStream &operator<<(output::ColorStream &stream, const Variable &variable)
|
||||
{
|
||||
assert(!variable.name.empty());
|
||||
assert(variable.name[0] >= 65 && variable.name[0] <= 90);
|
||||
|
||||
if (variable.type == ast::Variable::Type::Reserved || !isReservedVariableName(variable.name.c_str()))
|
||||
return (stream << output::Variable(variable.name.c_str()));
|
||||
|
Loading…
Reference in New Issue
Block a user