#include "wrap_sprintf.h"
#include <stdio.h>
#include <assert.h>
#include "modlunit.h"
Go to the source code of this file.
|
#define | NRN_BUFSIZE 8192 |
|
#define | ITEM0 (Item*) 0 |
|
#define | ITERATE(itm, lst) for (itm = (lst)->next; itm != (lst); itm = itm->next) |
|
#define | SYM0 (Symbol*) 0 |
|
#define | SYM(q) _SYM(q, (char*) __FILE__, __LINE__) |
|
#define | STR(q) _STR(q, (char*) __FILE__, __LINE__) |
|
#define | ITM(q) _ITM(q, (char*) __FILE__, __LINE__) |
|
#define | ITMA(q) _ITMA(q, (char*) __FILE__, __LINE__) |
|
#define | LST(q) _LST(q, (char*) __FILE__, __LINE__) |
|
#define | SPECIAL 1 |
|
#define | SYMBOL 1 |
|
#define | ITEM 2 |
|
#define | LIST 3 |
|
#define | ITEMARRAY 4 |
|
#define | KEYWORD 01L |
|
#define | modlunitCONST 02L |
|
#define | INDEP 04L |
|
#define | DEP 010L /* also in usage field */ |
|
#define | STAT 020L |
|
#define | ARRAY 040L |
|
#define | FUNCT 0100L /* also in usage field */ |
|
#define | PROCED 0200L |
|
#define | NEGATIVE 0400L |
|
#define | SEMI 01L /* ";" */ |
|
#define | BEGINBLK 02L /* "{" */ |
|
#define | ENDBLK 04L /* "}" */ |
|
#define | DERF 01000L |
|
#define | LINF 02000L |
|
#define | NLINF 04000L |
|
#define | DISCF 010000L |
|
#define | PARF 040000L |
|
#define | EXTDEF 0100000L |
|
#define | KINF 0200000L |
|
#define | LOCL 0400000L |
|
#define | CNVFAC 01000000L |
|
#define | UFACTOR 02000000L |
|
#define | RANGEOBJ 04000000L |
|
#define | EXPLICIT_DECL 01 /* usage field, variable occurs in input file */ |
|
#define | Fprintf fprintf |
|
#define | Fclose fclose |
|
#define | Fflush fflush |
|
#define | Printf printf |
|
#define | Strcpy strcpy |
|
#define | Strcat strcat |
|
#define | Insertstr insertstr |
|
#define | Insertsym insertsym |
|
#define | Linsertsym linsertsym |
|
#define | Linsertstr linsertstr |
|
#define | Lappendsym lappendsym |
|
#define | Lappendstr lappendstr |
|
#define | Lappenditem lappenditem |
|
#define | IGNORE(arg) arg |
|
|
Symbol * | _SYM (Item *, char *, int) |
|
char * | _STR (Item *q, char *file, int line) |
|
Item * | _ITM (Item *q, char *file, int line) |
|
Item ** | _ITMA (Item *q, char *file, int line) |
|
List * | _LST (Item *q, char *file, int line) |
|
char * | emalloc (unsigned) |
|
char * | stralloc (const char *, char *) |
|
char * | inputline () |
|
char * | inputtopar () |
|
char * | Gets (char *) |
|
const char * | unit_str () |
|
const char * | decode_units (Symbol *) |
|
List * | makelist (int narg,...) |
|
List * | itemarray (int narg,...) |
|
List * | prepend () |
|
List * | newlist () |
|
List * | inputtext () |
|
Item * | putintoken (const char *s, short type, short) |
|
Item * | insertstr (Item *item, const char *str) |
|
Item * | insertsym (List *list, Symbol *sym) |
|
Item * | linsertstr (List *list, char *str) |
|
Item * | lappendstr (List *list, const char *str) |
|
Item * | linsertsym (List *list, Symbol *sym) |
|
Item * | lappendsym (List *list, Symbol *sym) |
|
Item * | lappenditem (List *list, Item *item) |
|
Item * | listtype () |
|
Item * | next_parstok (Item *) |
|
Item * | prev_parstok (Item *) |
|
Item * | car (List *) |
|
Item * | next (Item *) |
|
Item * | prev (Item *) |
|
Symbol * | install (const char *, int) |
|
Symbol * | lookup (const char *) |
|
Symbol * | ifnew_constinstall () |
|
◆ ARRAY
◆ BEGINBLK
#define BEGINBLK 02L /* "{" */ |
◆ CNVFAC
◆ DEP
#define DEP 010L /* also in usage field */ |
◆ DERF
◆ DISCF
◆ ENDBLK
#define ENDBLK 04L /* "}" */ |
◆ EXPLICIT_DECL
#define EXPLICIT_DECL 01 /* usage field, variable occurs in input file */ |
◆ EXTDEF
◆ Fclose
◆ Fflush
◆ Fprintf
◆ FUNCT
#define FUNCT 0100L /* also in usage field */ |
◆ IGNORE
#define IGNORE |
( |
|
arg | ) |
arg |
◆ INDEP
◆ Insertstr
◆ Insertsym
◆ ITEM
◆ ITEM0
◆ ITEMARRAY
◆ ITERATE
#define ITERATE |
( |
|
itm, |
|
|
|
lst |
|
) |
| for (itm = (lst)->next; itm != (lst); itm = itm->next) |
◆ ITM
#define ITM |
( |
|
q | ) |
_ITM(q, (char*) __FILE__, __LINE__) |
◆ ITMA
#define ITMA |
( |
|
q | ) |
_ITMA(q, (char*) __FILE__, __LINE__) |
◆ KEYWORD
◆ KINF
◆ Lappenditem
◆ Lappendstr
◆ Lappendsym
◆ LINF
◆ Linsertstr
◆ Linsertsym
◆ LIST
◆ LOCL
◆ LST
#define LST |
( |
|
q | ) |
_LST(q, (char*) __FILE__, __LINE__) |
◆ modlunitCONST
#define modlunitCONST 02L |
◆ NEGATIVE
◆ NLINF
◆ NRN_BUFSIZE
◆ PARF
◆ Printf
◆ PROCED
◆ RANGEOBJ
#define RANGEOBJ 04000000L |
◆ SEMI
#define SEMI 01L /* ";" */ |
◆ SPECIAL
◆ STAT
◆ STR
#define STR |
( |
|
q | ) |
_STR(q, (char*) __FILE__, __LINE__) |
◆ Strcat
◆ Strcpy
◆ SYM
#define SYM |
( |
|
q | ) |
_SYM(q, (char*) __FILE__, __LINE__) |
◆ SYM0
◆ SYMBOL
◆ UFACTOR
#define UFACTOR 02000000L |
◆ Item
◆ List
◆ Symbol
◆ _ITM()
Item* _ITM |
( |
Item * |
q, |
|
|
char * |
file, |
|
|
int |
line |
|
) |
| |
◆ _ITMA()
Item** _ITMA |
( |
Item * |
q, |
|
|
char * |
file, |
|
|
int |
line |
|
) |
| |
◆ _LST()
List* _LST |
( |
Item * |
q, |
|
|
char * |
file, |
|
|
int |
line |
|
) |
| |
◆ _STR()
char* _STR |
( |
Item * |
q, |
|
|
char * |
file, |
|
|
int |
line |
|
) |
| |
◆ _SYM()
◆ car()
◆ decode_units()
const char* decode_units |
( |
Symbol * |
sym | ) |
|
◆ Gets()
char * Gets |
( |
char * |
buf | ) |
|
◆ ifnew_constinstall()
Symbol * ifnew_constinstall |
( |
| ) |
|
◆ inputline()
◆ inputtext()
◆ inputtopar()
◆ insertstr()
Item * insertstr |
( |
Item * |
item, |
|
|
const char * |
str |
|
) |
| |
◆ insertsym()
◆ install()
Symbol* install |
( |
const char * |
, |
|
|
int |
|
|
) |
| |
◆ itemarray()
List * itemarray |
( |
int |
narg, |
|
|
|
... |
|
) |
| |
◆ lappenditem()
◆ lappendstr()
Item * lappendstr |
( |
List * |
list, |
|
|
const char * |
str |
|
) |
| |
◆ lappendsym()
◆ linsertstr()
Item * linsertstr |
( |
List * |
list, |
|
|
char * |
str |
|
) |
| |
◆ linsertsym()
◆ listtype()
◆ lookup()
Symbol * lookup |
( |
const char * |
| ) |
|
◆ makelist()
List* makelist |
( |
int |
narg, |
|
|
|
... |
|
) |
| |
◆ newlist()
◆ next()
◆ next_parstok()
◆ prepend()
◆ prev()
◆ prev_parstok()
◆ putintoken()
Item* putintoken |
( |
const char * |
s, |
|
|
short |
type, |
|
|
short |
|
|
) |
| |
◆ unit_str()
◆ beginblk
◆ endblk
◆ fcout
◆ fin
◆ finname
◆ firstlist
◆ fparout
◆ indepsym
◆ initfunc
◆ initlist
◆ intoken
◆ lex_tok
◆ misc
◆ modelfunc
◆ parseroot
◆ plotlist
◆ procfunc
◆ termfunc
◆ unitonflag