Skip to content

Commit

Permalink
Merge pull request #155 from sparkprime/var_original
Browse files Browse the repository at this point in the history
Remove unused var.original field.
  • Loading branch information
sparkprime committed Apr 3, 2016
2 parents c644563 + 9fe8d67 commit a62a717
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions core/ast.h
Original file line number Diff line number Diff line change
Expand Up @@ -717,13 +717,8 @@ struct Unary : public AST {
/** Represents variables. */
struct Var : public AST {
const Identifier *id;
const Identifier *original;
Var(const LocationRange &lr, const Fodder &open_fodder, const Identifier *id)
: AST(lr, AST_VAR, open_fodder), id(id), original(id)
{ }
Var(const LocationRange &lr, const Fodder &open_fodder, const Identifier *id,
const Identifier *original)
: AST(lr, AST_VAR, open_fodder), id(id), original(original)
: AST(lr, AST_VAR, open_fodder), id(id)
{ }
};

Expand Down

0 comments on commit a62a717

Please sign in to comment.