Front-end: Add error-recovery code for a switch statement that ends with a case/default that has no statements.
This commit is contained in:
parent
51b31b5785
commit
2b4b9bd65b
3 changed files with 14 additions and 1 deletions
|
|
@ -641,7 +641,7 @@ public:
|
|||
virtual TIntermAggregate* getAsAggregate() { return this; }
|
||||
virtual const TIntermAggregate* getAsAggregate() const { return this; }
|
||||
virtual void setOperator(TOperator o) { op = o; }
|
||||
virtual TIntermSequence& getSequence() { return sequence; }
|
||||
virtual TIntermSequence& getSequence() { return sequence; }
|
||||
virtual const TIntermSequence& getSequence() const { return sequence; }
|
||||
virtual void setName(const TString& n) { name = n; }
|
||||
virtual const TString& getName() const { return name; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue