Skip to content

Commit

Permalink
more typedefs
Browse files Browse the repository at this point in the history
  • Loading branch information
tabascoeye committed May 22, 2014
1 parent 201c894 commit be65240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions symbol_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
#include "symbol_table.h"
#include "base.h"

static struct symbol_table st;
static symbol_table st;

object * st_insert(const char * name){
object * o;
if ((o = st_lookup(name)) != NULL)
return o;

check(st.size < SYMBOL_TABLE_SIZE, "symbol table size exceeded");
struct symbol * sym = &st.symbols[st.size];
symbol * sym = &st.symbols[st.size];
o = &sym->object;
o->atom_p = true;
o->function_p = false;
Expand Down

0 comments on commit be65240

Please sign in to comment.