def p_useStmt(t): """useStmt : R_USE ID""" t[0] = instruction.useDataBase(t[2])
def p_useStmt(t): """useStmt : R_USE ID""" t[0] = instruction.useDataBase(t[2], t.slice[1].lineno, t.slice[1].lexpos) repGrammar.append(t.slice)
def p_useStmt(t): """ useStmt : R_USE idOrString """ t[0] = instruction.useDataBase(t[2])