mirror of
https://github.com/sfall-team/sslc.git
synced 2026-07-27 16:52:49 -07:00
commit source from sfall 4.2 modderspack
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
#ifndef _PARSEEXT_H_
|
||||
#define _PARSEEXT_H_
|
||||
|
||||
/*
|
||||
Extended SSL syntax for sfall
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
char* name;
|
||||
int len;
|
||||
int datasize;
|
||||
} ArrayVar;
|
||||
typedef struct {
|
||||
ArrayVar* vars;
|
||||
int count;
|
||||
int size;
|
||||
} ArrayVarList;
|
||||
|
||||
void appendNodeListPart(NodeList* dst, const NodeList* src, int offset, int length);
|
||||
void appendNodeList(NodeList* dst, const NodeList* src);
|
||||
|
||||
int parseArrayDereference(Procedure *p, NodeList *nodes, LexData symb, int *lastExprSize);
|
||||
void parseArrayAssignment(Procedure *p, NodeList *nodes, LexData symb);
|
||||
void parseFor(Procedure *p, NodeList *n);
|
||||
void parseForEach(Procedure *p, NodeList *n);
|
||||
void parseSwitch(Procedure *p, NodeList *n);
|
||||
void parseAssocArrayConstant(Procedure *p, NodeList *n);
|
||||
void parseArrayConstant(Procedure *p, NodeList *n);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user