Made Symbol always stack, not heap, allocated. Finally fixed bugs with ASTTransformation.

This commit is contained in:
Nathan Braswell
2013-10-02 03:15:20 -04:00
parent 0110672f50
commit b9ffe33d0b
25 changed files with 375 additions and 278 deletions

View File

@@ -15,7 +15,7 @@ class Lexer {
~Lexer();
void addRegEx(std::string regExString);
void setInput(std::string inputString);
Symbol* next();
Symbol next();
private:
std::vector<RegEx*> regExs;
std::string input;