def warning(self, message, print_location=True):
msg = "<STR_LIT>"<EOL>if print_location and (exshared.location != None):<EOL><INDENT>wline = lineno(exshared.location, exshared.text)<EOL>wcol = col(exshared.location, exshared.text)<EOL>wtext = line(exshared.location, exshared.text)<EOL>msg += "<STR_LIT>" % (wline, wcol)<EOL><DEDENT>msg += "<STR_LIT>" % message<EOL>if print_location and (exshared.location != None):<EOL><INDENT>msg += "<STR_LIT>" % wtext<EOL><DEDENT>print(msg)<EOL>
Displays warning message. Uses exshared for current location of parsing