comparison dmd/SwitchStatement.d @ 53:a8b50ff7f201

ForeachStatement.syntaxCopy SliceExp.syntaxCopy AnonDeclaration.syntaxCopy SwitchStatement.syntaxCopy CaseStatement.syntaxCopy BreakStatement.syntaxCopy ThrowStatement.syntaxCopy NewExp.syntaxCopy DefaultStatement.syntaxCopy AssertExp.syntaxCopy ClassDeclaration.syntaxCopy TypeTypedef.constConv eval_builtin ComplexExp.isConst DVCondition.syntaxCopy OrExp.getIntRange AndExp.getIntRange getMask IntegerExp.getIntRange Type.sizemask CastExp.getIntRange Expression.getIntRange
author korDen
date Sat, 21 Aug 2010 12:15:47 +0400
parents 63623152e82a
children cab4c37afb89
comparison
equal deleted inserted replaced
52:69d078c417c6 53:a8b50ff7f201
75 gotoCases = new Array(); 75 gotoCases = new Array();
76 } 76 }
77 77
78 Statement syntaxCopy() 78 Statement syntaxCopy()
79 { 79 {
80 assert(false); 80 SwitchStatement s = new SwitchStatement(loc,
81 condition.syntaxCopy(), body_.syntaxCopy(), isFinal);
82 return s;
81 } 83 }
82 84
83 Statement semantic(Scope sc) 85 Statement semantic(Scope sc)
84 { 86 {
85 //printf("SwitchStatement.semantic(%p)\n", this); 87 //printf("SwitchStatement.semantic(%p)\n", this);