From 91ec34e36869a6481deb835d72dfc604957ea283 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Sun, 22 Apr 2018 02:29:42 +0200 Subject: [PATCH] Change return type of LLScriptType::get_itype() from int to enum --- types.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types.hh b/types.hh index e687795..a85aafb 100644 --- a/types.hh +++ b/types.hh @@ -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";