89 int fc; |
89 int fc; |
90 |
90 |
91 unsigned int pos[MAX_FILESTACK]; |
91 unsigned int pos[MAX_FILESTACK]; |
92 unsigned int curline[MAX_FILESTACK]; |
92 unsigned int curline[MAX_FILESTACK]; |
93 unsigned int curchar[MAX_FILESTACK]; |
93 unsigned int curchar[MAX_FILESTACK]; |
94 BlockInformation blockstack[MAX_STRUCTSTACK]; |
94 BlockInformation scopestack[MAX_STRUCTSTACK]; |
95 long savedpos[MAX_FILESTACK]; // filepointer cursor position |
95 long savedpos[MAX_FILESTACK]; // filepointer cursor position |
96 str token; |
96 str token; |
97 int commentmode; |
97 int commentmode; |
98 long prevpos; |
98 long prevpos; |
99 str prevtoken; |
99 str prevtoken; |
126 DataBuffer* ParseCommand (CommandDef* comm); |
126 DataBuffer* ParseCommand (CommandDef* comm); |
127 DataBuffer* ParseExpression (int reqtype); |
127 DataBuffer* ParseExpression (int reqtype); |
128 DataBuffer* ParseAssignment (ScriptVar* var); |
128 DataBuffer* ParseAssignment (ScriptVar* var); |
129 int ParseOperator (bool peek = false); |
129 int ParseOperator (bool peek = false); |
130 DataBuffer* ParseExprValue (int reqtype); |
130 DataBuffer* ParseExprValue (int reqtype); |
131 void PushBlockStack (); |
131 void PushScope (); |
132 |
132 |
133 // preprocessor.cxx: |
133 // preprocessor.cxx: |
134 void PreprocessDirectives (); |
134 void PreprocessDirectives (); |
135 void PreprocessMacros (); |
135 void PreprocessMacros (); |
136 DataBuffer* ParseStatement (ObjWriter* w); |
136 DataBuffer* ParseStatement (ObjWriter* w); |