mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[poincare] Token: initialize text to ""
This commit is contained in:
@@ -49,7 +49,7 @@ public:
|
||||
Undefined
|
||||
};
|
||||
|
||||
Token(Type type) : m_type(type) {};
|
||||
Token(Type type) : m_type(type), m_text(0) {};
|
||||
|
||||
Type type() const { return m_type; }
|
||||
bool is(Type t) const { return m_type == t; }
|
||||
|
||||
Reference in New Issue
Block a user