summary refs log tree commit diff
path: root/lisc/lisc.h
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r--lisc/lisc.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h
index 2f00e09..4d70f31 100644
--- a/lisc/lisc.h
+++ b/lisc/lisc.h
@@ -13,7 +13,7 @@ typedef struct Ins Ins;
 typedef struct Phi Phi;
 typedef struct Blk Blk;
 typedef struct Sym Sym;
-typedef struct Const Const;
+typedef struct Cons Cons;
 typedef struct Fn Fn;
 
 typedef enum { U, F, T } B3;
@@ -66,14 +66,14 @@ struct Ref {
 
 enum {
 	RSym,
-	RConst,
+	RCons,
 	RSlot,
 	NRef = (1<<14) - 1
 };
 
 #define R        (Ref){0, 0}
 #define SYM(x)   (Ref){RSym, x}
-#define CONST(x) (Ref){RConst, x}
+#define CONS(x)  (Ref){RCons, x}
 #define SLOT(x)  (Ref){RSlot, x}
 
 static inline int req(Ref a, Ref b)
@@ -161,7 +161,7 @@ struct Sym {
 	int hint;
 };
 
-struct Const {
+struct Cons {
 	enum {
 		CUndef,
 		CNum,
@@ -174,7 +174,7 @@ struct Const {
 struct Fn {
 	Blk *start;
 	Sym *sym;
-	Const *cst;
+	Cons *cons;
 	int ntmp;
 	int nblk;
 	Blk **rpo;