def mulexp_action(self, text, loc, mul):
exshared.setpos(loc, text)<EOL>if DEBUG > <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>",mul)<EOL>if DEBUG == <NUM_LIT:2>: self.symtab.display()<EOL>if DEBUG > <NUM_LIT:2>: return<EOL><DEDENT>m = list(mul)<EOL>while len(m) > <NUM_LIT:1>:<EOL><INDENT>if not self.symtab.same_types(m[<NUM_LIT:0>], m[<NUM_LIT:2>]):<EOL><INDENT>raise SemanticException("<STR_LIT>" % m[<NUM_LIT:1>])<EOL><DEDENT>reg = self.codegen.arithmetic(m[<NUM_LIT:1>], m[<NUM_LIT:0>], m[<NUM_LIT:2>])<EOL>m[<NUM_LIT:0>:<NUM_LIT:3>] = [reg]<EOL><DEDENT>return m[<NUM_LIT:0>]<EOL>
Code executed after recognising a mulexp expression (something *|/ something)