Lines Matching refs:msg
1216 msg = None
1226 msg = " default configuration '{}' (no '{}')" \
1230 if not msg:
1231 msg = " configuration '{}'".format(filename)
1246 return ("Loaded" if replace else "Merged") + msg
1387 msg = '{} set more than once. Old value "{}", new value "{}".'.format(
1392 self._warn(msg, filename, linenr)
1394 self._warn(msg, filename, linenr)
3822 msg = "the choice symbol {} is {} by the following symbols, but " \
3828 msg += "\n - " + split_expr(si, AND)[0].name_and_loc
3830 self._warn(msg)
3879 def _parse_error(self, msg): argument
3883 self._line.strip(), msg))
3963 msg = "undefined symbol {}:".format(sym.name)
3966 msg += "\n\n- Referenced at {}:{}:\n\n{}" \
3968 self._warn(msg)
3970 def _warn(self, msg, filename=None, linenr=None): argument
3976 msg = "warning: " + msg
3978 msg = "{}:{}: {}".format(filename, linenr, msg)
3980 self.warnings.append(msg)
3982 sys.stderr.write(msg + "\n")
4960 msg = "{} has direct dependencies {} with value {}, but is " \
4978 msg += "\n - {}, with value {}, direct dependencies {} " \
4986 msg += ", and select condition {} (value: {})" \
4990 self.kconfig._warn(msg)
5975 def __init__(self, ioerror, msg): argument
5976 self.msg = msg
5981 return self.msg
6679 msg = "\nDependency loop\n" \
6684 msg += "...depends on "
6686 msg += "the choice symbol "
6688 msg += "{}, with definition...\n\n{}\n\n" \
6706 msg += "(select-related dependencies: {})\n\n" \
6710 msg += "(imply-related dependencies: {})\n\n" \
6713 msg += "...depends again on " + loop[0].name_and_loc
6715 raise KconfigError(msg)
6761 def _info_fn(kconf, _, msg): argument
6762 print("{}:{}: {}".format(kconf.filename, kconf.linenr, msg))
6767 def _warning_if_fn(kconf, _, cond, msg): argument
6769 kconf._warn(msg, kconf.filename, kconf.linenr)
6774 def _error_if_fn(kconf, _, cond, msg): argument
6777 kconf.filename, kconf.linenr, msg))