aboutsummaryrefslogtreecommitdiff
path: root/semantics.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-04-04 01:07:15 +0800
committerTeddy <ted.sybil@gmail.com>2014-04-04 01:07:15 +0800
commita52fc0e7c5d05c7a4b18d8520826e448576826f9 (patch)
treee074fa63de537a34cdac5a3a78a5ae2788dad2ba /semantics.h
parentef1c46b1eef2b22100d9eca9c4d0e6ffab7c7eab (diff)
...
Diffstat (limited to 'semantics.h')
-rw-r--r--semantics.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/semantics.h b/semantics.h
index 4a53f7b..11e4e54 100644
--- a/semantics.h
+++ b/semantics.h
@@ -16,6 +16,7 @@ typedef struct CVar{
typedef CVar *CVar_t;
CVar_t cvar_create(const char *name, struct CType *type);
+void cvar_print(CVar_t cv);
typedef struct CType {
enum {
@@ -48,6 +49,7 @@ typedef struct CType {
typedef CType *CType_t;
CType_t ctype_create(const char *name, int type);
+void ctype_debug_print(CType_t ct);
typedef unsigned int (*Hashfunc_t) (const char *);
#ifdef CIBIC_DEBUG
@@ -104,8 +106,8 @@ void cscope_exit(CScope_t cs);
void cscope_debug_print(CScope_t cs);
unsigned int bkdr_hash(const char *str);
-const char *cvar_print(void *var);
-const char *ctype_print(void *type);
+const char *ctable_cvar_print(void *var);
+const char *ctable_ctype_print(void *type);
void semantics_check(CNode *ast);
#endif