|
| UBYTE | GetInput () |
| VOID | ClearPushback () |
| UBYTE | GetChar (int level) |
| VOID | CharOut (UBYTE c) |
| VOID | UnsetAllowDelay () |
| UBYTE * | GetPreVar (UBYTE *name, int flag) |
| int | PutPreVar (UBYTE *name, UBYTE *value, UBYTE *args, int mode) |
| VOID | PopPreVars (int tonumber) |
| VOID | IniModule (int type) |
| VOID | IniSpecialModule (int type) |
| VOID | PreProcessor () |
| int | PreProInstruction () |
| int | LoadInstruction (int mode) |
| int | LoadStatement (int type) |
| int | ExpandTripleDots (int par) |
| KEYWORD * | FindKeyWord (UBYTE *theword, KEYWORD *table, int size) |
| KEYWORD * | FindInKeyWord (UBYTE *theword, KEYWORD *table, int size) |
| int | TheDefine (UBYTE *s, int mode) |
| int | DoCommentChar (UBYTE *s) |
| int | DoPreAssign (UBYTE *s) |
| int | DoDefine (UBYTE *s) |
| int | DoRedefine (UBYTE *s) |
| int | ClearMacro (UBYTE *name) |
| int | TheUndefine (UBYTE *name) |
| int | DoUndefine (UBYTE *s) |
| int | DoInclude (UBYTE *s) |
| int | DoReverseInclude (UBYTE *s) |
| int | Include (UBYTE *s, int type) |
| int | DoPreExchange (UBYTE *s) |
| int | DoCall (UBYTE *s) |
| int | DoDebug (UBYTE *s) |
| int | DoTerminate (UBYTE *s) |
| int | DoDo (UBYTE *s) |
| int | DoBreakDo (UBYTE *s) |
| int | DoElse (UBYTE *s) |
| int | DoElseif (UBYTE *s) |
| int | DoEnddo (UBYTE *s) |
| int | DoEndif (UBYTE *s) |
| int | DoEndprocedure (UBYTE *s) |
| int | DoIf (UBYTE *s) |
| int | DoIfdef (UBYTE *s, int par) |
| int | DoIfydef (UBYTE *s) |
| int | DoIfndef (UBYTE *s) |
| int | DoInside (UBYTE *s) |
| int | DoEndInside (UBYTE *s) |
| int | DoMessage (UBYTE *s) |
| int | DoPipe (UBYTE *s) |
| int | DoPrcExtension (UBYTE *s) |
| int | DoPreOut (UBYTE *s) |
| int | DoPrePrintTimes (UBYTE *s) |
| int | DoPreAppend (UBYTE *s) |
| int | DoPreCreate (UBYTE *s) |
| int | DoPreRemove (UBYTE *s) |
| int | DoPreClose (UBYTE *s) |
| int | DoPreWrite (UBYTE *s) |
| int | DoProcedure (UBYTE *s) |
| int | DoPreBreak (UBYTE *s) |
| int | DoPreCase (UBYTE *s) |
| int | DoPreDefault (UBYTE *s) |
| int | DoPreEndSwitch (UBYTE *s) |
| int | DoPreSwitch (UBYTE *s) |
| int | DoPreShow (UBYTE *s) |
| int | DoSystem (UBYTE *s) |
| int | PreLoad (PRELOAD *p, UBYTE *start, UBYTE *stop, int mode, char *message) |
| int | PreSkip (UBYTE *start, UBYTE *stop, int mode) |
| VOID | StartPrepro () |
| int | EvalPreIf (UBYTE *s) |
| UBYTE * | PreIfEval (UBYTE *s, int *value) |
| int | PreCmp (int type, int val, UBYTE *t, int type2, int val2, UBYTE *t2, int cmpop) |
| int | PreEq (int type, int val, UBYTE *t, int type2, int val2, UBYTE *t2, int eqop) |
| UBYTE * | pParseObject (UBYTE *s, int *type, LONG *val2) |
| UBYTE * | PreCalc () |
| UBYTE * | PreEval (UBYTE *s, LONG *x) |
| void | AddToPreTypes (int type) |
| void | MessPreNesting (int par) |
| int | DoPreAddSeparator (UBYTE *s) |
| int | DoPreRmSeparator (UBYTE *s) |
| int | DoExternal (UBYTE *s) |
| int | DoPrompt (UBYTE *s) |
| int | DoSetExternal (UBYTE *s) |
| int | DoSetExternalAttr (UBYTE *s) |
| int | DoRmExternal (UBYTE *s) |
| int | DoFromExternal (UBYTE *s) |
| int | DoToExternal (UBYTE *s) |
| UBYTE * | defineChannel (UBYTE *s, HANDLERS *h) |
| int | writeToChannel (int wtype, UBYTE *s, HANDLERS *h) |
| int | DoFactDollar (UBYTE *s) |
| WORD | GetDollarNumber (UBYTE **inp, DOLLARS d) |
| int | DoSetRandom (UBYTE *s) |
| int | DoOptimize (UBYTE *s) |
| int | DoClearOptimize (UBYTE *s) |
| int | DoSkipExtraSymbols (UBYTE *s) |
| int | DoPreReset (UBYTE *s) |
| int | DoPreAppendPath (UBYTE *s) |
| int | DoPrePrependPath (UBYTE *s) |
| int | DoTimeOutAfter (UBYTE *s) |
This is the preprocessor and all its routines.
Definition in file pre.c.
| int PutPreVar |
( |
UBYTE * | name, |
|
|
UBYTE * | value, |
|
|
UBYTE * | args, |
|
|
int | mode ) |
Inserts/Updates a preprocessor variable in the name administration.
- Parameters
-
| name | Character string with the variable name. |
| value | Character string with a possible value. Special case: if this argument is zero, then we have no value. Note: This is different from having an empty argument! This should only occur when the name starts with a ? |
| args | Character string with possible arguments. |
| mode | =0: always create a new name entry, =1: try to do a redefinition if possible. |
- Returns
- Index of used entry in name list.
Definition at line 642 of file pre.c.
Referenced by ClearOptimize(), Generator(), Optimize(), PF_BroadcastRedefinedPreVars(), StartVariables(), and TheDefine().