mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2024-11-23 02:33:48 +00:00
18 lines
649 B
C
18 lines
649 B
C
#ifndef PARSER_MISC_H_
|
|
#define PARSER_MISC_H_
|
|
|
|
#include "macrossTypes.h"
|
|
|
|
statementType *addLabelToStatement(labelListType *labelList, statementType *statement);
|
|
void botch(char *message, ...);
|
|
void checkDefineAssignmentOperator(assignmentKindType assignmentOperator);
|
|
statementType *convertDefineToMdefine(statementType *defineStatement);
|
|
ifStatementBodyType *extractIfBody(statementType *ifStatement);
|
|
mifStatementBodyType *extractMifBody(statementType *mifStatement);
|
|
stringType *extractString(operandType *textExpression);
|
|
void popMacroOrFunctionNestingDepth(void);
|
|
void pushMacroOrFunctionNestingDepth(void);
|
|
char *saveString(char *s);
|
|
|
|
#endif
|