1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-03 07:24:58 +03:00

Fixed Headings.xml malformed integer key bug

This commit is contained in:
Graham Nelson 2019-04-19 08:38:00 +01:00
parent 20d024c37e
commit 8ac7b037d7
2 changed files with 3 additions and 3 deletions

View file

@ -201,9 +201,9 @@ inter_symbol *InterNames::to_symbol(inter_name *iname) {
return iname->symbol;
}
void InterNames::externalise_symbol(inter_name *iname, inter_name *ext_iname) {
void InterNames::externalise_symbol(inter_name *iname, text_stream *ext_name) {
if (iname->symbol != NULL) internal_error("iname already converted");
iname->symbol = Emit::extern(ext_iname, K_value);;
iname->symbol = Emit::extern(ext_name, K_value);;
}

View file

@ -46,7 +46,7 @@ that the comma matches only if not in brackets.
ordinals within the VM-representable range.)
=
<integer> internal 1 {
<any-integer> internal 1 {
if (Vocabulary::test_flags(Wordings::first_wn(W), NUMBER_MC)) {
*X = Vocabulary::get_literal_number_value(Lexer::word(Wordings::first_wn(W)));
return TRUE;