mirror of
https://github.com/Museum-of-Art-and-Digital-Entertainment/macross.git
synced 2024-11-30 04:55:00 +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
|