ARB
Macros | Enumerations
aisc_def.h File Reference
#include <arb_simple_assert.h>
Include dependency graph for aisc_def.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define aisc_assert(cond)   arb_assert(cond)
 
#define OPENFILES   16
 
#define HASHSIZE   1049
 
#define STACKSIZE   20
 
#define CALLER_FILE   NULp
 
#define CALLER_LINE   0
 
#define print_error(code_or_loc, err)   (code_or_loc)->print_error_internal(err, CALLER_FILE, CALLER_LINE)
 
#define print_warning(code_or_loc, err)   (code_or_loc)->print_warning_internal(err, CALLER_FILE, CALLER_LINE)
 
#define printf_error(code_or_loc, format, arg)   print_error(code_or_loc, formatted(format, arg))
 
#define printf_warning(code_or_loc, format, arg)   print_warning(code_or_loc, formatted(format, arg))
 

Enumerations

enum  LookupScope { LOOKUP_LIST, LOOKUP_BLOCK, LOOKUP_BLOCK_REST, LOOKUP_LIST_OR_PARENT_LIST }
 

Macro Definition Documentation

#define aisc_assert (   cond)    arb_assert(cond)
#define OPENFILES   16

Definition at line 19 of file aisc_def.h.

Referenced by Interpreter::launch().

#define HASHSIZE   1049

Definition at line 20 of file aisc_def.h.

Referenced by Interpreter::Interpreter().

#define STACKSIZE   20

Definition at line 21 of file aisc_def.h.

#define CALLER_FILE   NULp

Definition at line 43 of file aisc_def.h.

#define CALLER_LINE   0

Definition at line 44 of file aisc_def.h.

#define print_error (   code_or_loc,
  err 
)    (code_or_loc)->print_error_internal(err, CALLER_FILE, CALLER_LINE)
#define print_warning (   code_or_loc,
  err 
)    (code_or_loc)->print_warning_internal(err, CALLER_FILE, CALLER_LINE)

Definition at line 48 of file aisc_def.h.

#define printf_error (   code_or_loc,
  format,
  arg 
)    print_error(code_or_loc, formatted(format, arg))

Definition at line 50 of file aisc_def.h.

Referenced by NoSuchCommand::call(), ArgParser::get(), get_var_string(), and read_aisc_file().

#define printf_warning (   code_or_loc,
  format,
  arg 
)    print_warning(code_or_loc, formatted(format, arg))

Definition at line 51 of file aisc_def.h.

Enumeration Type Documentation

Enumerator
LOOKUP_LIST 
LOOKUP_BLOCK 
LOOKUP_BLOCK_REST 
LOOKUP_LIST_OR_PARENT_LIST 

Definition at line 23 of file aisc_def.h.