1 #include <../../nrnconf.h>
53 i->element = (
void*) 0;
64 for (i1 = (*plist)->
next; i1 != *plist; i1 = i2) {
105 i->element = (
void*)
stralloc(str, (
char*) 0);
115 i->element = (
void*) itm;
126 i->element = (
void*) sym;
164 p =
static_cast<char*
>(malloc(
n));
165 if (
p == (
char*) 0) {
167 diag(
"out of memory", (
char*) 0);
193 for (
q = q1;
q != q2;) {
234 diag(
"internal error",
" in putintoken");
240 q->itemsubtype = toktype;
244 q->itemtype = NEWLINE;
255 q->itemsubtype = toktype;
257 q->itemsubtype = sym->
type;
281 q = va_arg(ap,
Item*);
318 q = va_arg(ap,
Item*);
Symbol * lookup(const char *)
Symbol * install(const char *, int)
Item * prepend(Item *ql, Item *q)
char * stralloc(const char *buf, char *rel)
void movelist(Item *q1, Item *q2, List *s)
void freelist(List **plist)
void move(Item *q1, Item *q2, Item *q3)
Item * linsertstr(List *list, const char *str)
char * emalloc(unsigned n)
void replacstr(Item *q, const char *s)
void deltokens(Item *q1, Item *q2)
Item * putintoken(const char *s, short type, short toktype)
Item * makelist(int narg,...)
Item * itemarray(int narg,...)
static Item * linkitem(Item *item)
Item * lappenditem(List *list, Item *item)
Item * insertsym(Item *item, Symbol *sym)
void append(Item *ql, Item *q)
Item * insertitem(Item *item, Item *itm)
Item * linsertsym(List *list, Symbol *sym)
Item * insertstr(Item *item, const char *str)
Item * lappendsym(List *list, Symbol *sym)
Item * lappendstr(List *list, const char *str)
int const size_t const size_t n
int Fprintf(FILE *stream, const char *fmt, Args... args)