Small refactorizations:
- Improved formatting of unhandled-char-constant message (Side-effect: fixes #7206) - Replace nr="-1" by nr="any" in windows.cfg
This commit is contained in:
parent
61da95010c
commit
37572dc109
|
@ -1771,7 +1771,7 @@ HFONT CreateFont(
|
|||
-->
|
||||
<function name="CreateFont">
|
||||
<noreturn>false</noreturn>
|
||||
<arg nr="-1">
|
||||
<arg nr="any">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="14"/>
|
||||
|
|
|
@ -400,7 +400,7 @@ MathLib::bigint MathLib::characterLiteralToLongNumber(const std::string& str)
|
|||
c = str[1];
|
||||
break;
|
||||
default:
|
||||
throw InternalError(0, "Internal Error. MathLib::toLongNumber: Unhandled char constant " + str);
|
||||
throw InternalError(0, "Internal Error. MathLib::toLongNumber: Unhandled char constant '" + str + "'.");
|
||||
}
|
||||
return c & 0xff;
|
||||
case 2:
|
||||
|
@ -413,7 +413,7 @@ MathLib::bigint MathLib::characterLiteralToLongNumber(const std::string& str)
|
|||
}
|
||||
}
|
||||
|
||||
throw InternalError(0, "Internal Error. MathLib::toLongNumber: Unhandled char constant " + str);
|
||||
throw InternalError(0, "Internal Error. MathLib::toLongNumber: Unhandled char constant '" + str + "'.");
|
||||
}
|
||||
|
||||
MathLib::bigint MathLib::toLongNumber(const std::string & str)
|
||||
|
|
Loading…
Reference in New Issue