Skip to content

Commit

Permalink
More cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
psde committed Jan 16, 2013
1 parent 299d15e commit 338a61b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
5 changes: 1 addition & 4 deletions src/Lexer.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LEXER_HPP
#define LEXER_HPP
#pragma once

#include <ctype.h>
#include "Token.hpp"
Expand Down Expand Up @@ -75,5 +74,3 @@ class Lexer

Token nextToken();
};

#endif
5 changes: 1 addition & 4 deletions src/List.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#ifndef LIST_HPP
#define LIST_HPP
#pragma once

#include <cstdarg>

Expand Down Expand Up @@ -77,5 +76,3 @@ class List {
this->size -= 1;
}
};

#endif
7 changes: 1 addition & 6 deletions src/ParseTree.hpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
#ifndef PARSETREE_HPP
#define PARSETREE_HPP
#pragma once

#include "ParserRule.hpp"
#include "Token.hpp"
#include "Lexer.hpp"
#include "String.hpp"
#include "Vector.hpp"


class ParseTree
{
protected:
Expand Down Expand Up @@ -396,5 +393,3 @@ class Prog : public ParseTree
String typeCheck();
String makeCode();
};

#endif

0 comments on commit 338a61b

Please sign in to comment.