mirror of
https://github.com/sfall-team/sslc.git
synced 2026-07-27 16:52:49 -07:00
- ForEach: allow to declare variables for key & value header - ForEach: allow to use expression after `in` that start with a symbol without mandatory parantheses - Variables: allow to declare variables anywhere where statement is expected - Variables: simplify declaration code & array vars - Expressions: display useful error message when expression was expected but nothing was parsed
20 lines
637 B
C
20 lines
637 B
C
#ifndef _PARSEEXT_H_
|
|
#define _PARSEEXT_H_
|
|
|
|
/*
|
|
Extended SSL syntax for sfall
|
|
*/
|
|
|
|
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
|