Skip to content

Commit

Permalink
Change return type of LLScriptType::get_itype() from int to enum
Browse files Browse the repository at this point in the history
  • Loading branch information
Sei-Lisa committed Apr 22, 2018
1 parent 9a9c741 commit 91ec34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.hh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class LLScriptType : public LLASTNode {
bool can_coerce( LLScriptType *to );
LLScriptType *get_result_type(int op, LLScriptType *right);

int get_itype() { return itype; } ;
LST_TYPE get_itype() { return itype; } ;
virtual const char *get_node_name() {
switch (itype) {
case LST_ERROR: return "error";
Expand Down

0 comments on commit 91ec34e

Please sign in to comment.