shithub: scc

ref: 7ae2f8e3d575dd2e918c3b389779415e63902d8b
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