59 int fc; |
60 int fc; |
60 |
61 |
61 unsigned int pos[MAX_FILESTACK]; |
62 unsigned int pos[MAX_FILESTACK]; |
62 unsigned int curline[MAX_FILESTACK]; |
63 unsigned int curline[MAX_FILESTACK]; |
63 unsigned int curchar[MAX_FILESTACK]; |
64 unsigned int curchar[MAX_FILESTACK]; |
|
65 unsigned int blockstack[MAX_STRUCTSTACK]; |
64 long savedpos[MAX_FILESTACK]; // filepointer cursor position |
66 long savedpos[MAX_FILESTACK]; // filepointer cursor position |
65 str token; |
67 str token; |
66 int commentmode; |
68 int commentmode; |
67 long prevpos; |
69 long prevpos; |
68 str prevtoken; |
70 str prevtoken; |
83 void MustNext (const char* c = ""); |
85 void MustNext (const char* c = ""); |
84 void MustThis (const char* c); |
86 void MustThis (const char* c); |
85 void MustString (bool gotquote = false); |
87 void MustString (bool gotquote = false); |
86 void MustNumber (bool fromthis = false); |
88 void MustNumber (bool fromthis = false); |
87 void MustBool (); |
89 void MustBool (); |
88 void MustValue (int type); |
|
89 bool BoolValue (); |
90 bool BoolValue (); |
90 |
91 |
91 void ParserError (const char* message, ...); |
92 void ParserError (const char* message, ...); |
92 void ParserWarning (const char* message, ...); |
93 void ParserWarning (const char* message, ...); |
93 |
94 |