2016-01-23 03:51:29 -08:00
|
|
|
#ifndef PARSER_MISC_H_
|
|
|
|
#define PARSER_MISC_H_
|
|
|
|
#include "macrossTypes.h"
|
|
|
|
|
|
|
|
statementType *addLabelToSatement(labelListType *labelList, statementType *statement);
|
2016-01-23 17:35:49 +01:00
|
|
|
void botch(char *message, ...);
|
2016-01-23 03:51:29 -08:00
|
|
|
void checkDefineAssignmentOperator(assignmentKindType assignmentOperator);
|
|
|
|
void convertDefineToMDefine(statementType *defineStatement);
|
|
|
|
ifStatementBodyType *extractIfBody(statementType *ifStatement);
|
|
|
|
mifStatementBodyType *extractMifBody(statementType *mifStatement);
|
|
|
|
stringType *extractString(operandType *textExpression);
|
|
|
|
void popMacroOrFunctionNestingDepth();
|
|
|
|
void pushMacroOrFunctionNestingDepth();
|
|
|
|
char *saveString(char *s);
|
|
|
|
|
|
|
|
#endif
|