shithub: scc

ref: 99642057a0e6a038dcd4a92500d1a016b137244e
dir: /symbol.h/

View raw version

#pragma once
#ifndef SYMBOL_H
#define SYMBOL_H


struct type;

struct symbol {
	char *str;
	struct type *type;
	struct symbol *next;
};


struct symhash;
extern struct symhash siden, sgoto, sstruct;

extern unsigned char hashfun(register const char *s);


#endif