comparison parser/Action.d @ 150:6c5a3c0bb4fb

Make switch work again Also added locations to statements (only filled out for switch) Added a verification pass Removed some comments
author Anders Halager <halager@gmail.com>
date Mon, 21 Jul 2008 20:35:03 +0200
parents 8c09fdaa724e
children ee202c72cd30
comparison
equal deleted inserted replaced
147:060b6eb16db9 150:6c5a3c0bb4fb
298 StmtT actOnDeclStmt(DeclT decl) 298 StmtT actOnDeclStmt(DeclT decl)
299 { 299 {
300 return null; 300 return null;
301 } 301 }
302 302
303 StmtT actOnStartOfSwitchStmt(ExprT exp) 303 StmtT actOnStartOfSwitchStmt(Token _switch, ExprT exp)
304 { 304 {
305 return null; 305 return null;
306 } 306 }
307 307
308 void actOnCaseStmt(StmtT stmt, ExprT[] exps, StmtT[] stmts) 308 void actOnCaseStmt(StmtT stmt, Token _case, ExprT[] exps, StmtT[] stmts)
309 { 309 {
310 } 310 }
311 311
312 void actOnDefaultStmt(StmtT stmt, StmtT[] stmts) 312 void actOnDefaultStmt(StmtT stmt, Token _default, StmtT[] stmts)
313 { 313 {
314 } 314 }
315 315
316 StmtT actOnFinishSwitchStmt(StmtT sw) 316 StmtT actOnFinishSwitchStmt(StmtT sw)
317 { 317 {