- Renamed FxSequence to FxCompoundStatement.
- fixed: The state parser was unable to accept empty anonymous functions, which should be treated as if there is none at all.
This commit is contained in:
parent
458c68775f
commit
8a6230d64a
5 changed files with 17 additions and 13 deletions
|
|
@ -1079,16 +1079,16 @@ public:
|
|||
|
||||
//==========================================================================
|
||||
//
|
||||
// FxSequence
|
||||
// FxCompoundStatement
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
class FxSequence : public FxExpression
|
||||
class FxCompoundStatement : public FxExpression
|
||||
{
|
||||
TDeletingArray<FxExpression *> Expressions;
|
||||
|
||||
public:
|
||||
FxSequence(const FScriptPosition &pos) : FxExpression(pos) {}
|
||||
FxCompoundStatement(const FScriptPosition &pos) : FxExpression(pos) {}
|
||||
FxExpression *Resolve(FCompileContext&);
|
||||
ExpEmit Emit(VMFunctionBuilder *build);
|
||||
void Add(FxExpression *expr) { if (expr != NULL) Expressions.Push(expr); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue