From 8bf41e41c142b2c8618eed0b786c64e10dcacb1e Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Fri, 23 May 2014 06:07:02 -0500 Subject: ruby: message buffer: drop dequeue_getDelayCycles() The functionality of updating and returning the delay cycles would now be performed by the dequeue() function itself. --- src/mem/slicc/ast/ExprStatementAST.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mem/slicc') diff --git a/src/mem/slicc/ast/ExprStatementAST.py b/src/mem/slicc/ast/ExprStatementAST.py index 898fccf3d..acb69f799 100644 --- a/src/mem/slicc/ast/ExprStatementAST.py +++ b/src/mem/slicc/ast/ExprStatementAST.py @@ -42,8 +42,8 @@ class ExprStatementAST(StatementAST): # The return type must be void if actual_type != self.symtab.find("void", Type): - self.expr.error("Non-void return must not be ignored, " + \ - "return type is '%s'", actual_type.ident) + self.expr.warning("Non-void return ignored, " + \ + "return type is '%s'", actual_type.ident) def findResources(self, resources): self.expr.findResources(resources) -- cgit v1.2.3