Added in the cast function and fixed type promotion (so it would work with pointer arithmatic)

This commit is contained in:
Nathan Braswell
2015-06-19 17:13:06 -04:00
parent 616b955bf9
commit 457998e0ff
7 changed files with 50 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ class ASTData;
#include "ASTData.h"
#include "util.h"
enum ValueType {none, template_type, template_type_type, void_type, boolean, integer, floating, double_percision, character, function_type };
enum ValueType {none, template_type, template_type_type, void_type, boolean, character, integer, floating, double_percision, function_type };
class Type {