def constant_action(self, text, loc, const):
exshared.setpos(loc, text)<EOL>if DEBUG > <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>",const)<EOL>if DEBUG == <NUM_LIT:2>: self.symtab.display()<EOL>if DEBUG > <NUM_LIT:2>: return<EOL><DEDENT>return self.symtab.insert_constant(const[<NUM_LIT:0>], const[<NUM_LIT:1>])<EOL>
Code executed after recognising a constant