Main Page | Data Structures | File List | Data Fields | Globals

usersymbols.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "errhandler.h"
#include "strsubvocab.h"
#include "usersymbols.h"
#include "scanner.h"

Include dependency graph for usersymbols.c:

Go to the source code of this file.

Functions

void add_user_symbol (char *raw_symb)
char * lookup_user_symbol (char *symb_nam)
bool exists_as_user_symbol (char *symb_nam)
void eval_user_symbol (char *symbol)
void list_user_symbols (void)

Variables

static str_sub_vocab_tuser_symbol_list = NULL
static int user_symbol_count = 0


Function Documentation

void add_user_symbol char *  raw_symb  ) 
 

Definition at line 167 of file usersymbols.c.

References add_str_sub_entry(), and user_symbol_count.

Referenced by get_args().

Here is the call graph for this function:

void eval_user_symbol char *  symbol  ) 
 

Definition at line 280 of file usersymbols.c.

References eval_string(), lookup_user_symbol(), tokenization_error(), and WARNING.

Referenced by handle_internal().

Here is the call graph for this function:

bool exists_as_user_symbol char *  symb_nam  ) 
 

Definition at line 228 of file usersymbols.c.

References exists_in_str_sub().

Referenced by if_defined(), and if_not_defined().

Here is the call graph for this function:

void list_user_symbols void   ) 
 

Definition at line 323 of file usersymbols.c.

References str_sub_vocab::alias, str_sub_vocab::name, str_sub_vocab::next, safe_malloc(), and user_symbol_count.

Referenced by get_args().

Here is the call graph for this function:

char* lookup_user_symbol char *  symb_nam  ) 
 

Definition at line 203 of file usersymbols.c.

References lookup_str_sub().

Referenced by eval_user_symbol().

Here is the call graph for this function:


Variable Documentation

int user_symbol_count = 0 [static]
 

Definition at line 132 of file usersymbols.c.

Referenced by add_user_symbol(), and list_user_symbols().

str_sub_vocab_t* user_symbol_list = NULL [static]
 

Definition at line 131 of file usersymbols.c.


Generated on Fri Aug 18 14:05:20 2006 for Toke1.0 by  doxygen 1.4.4