1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-06-26 04:00:43 +03:00

Fix for Jira bug I7-2094

This commit is contained in:
Graham Nelson 2022-05-09 08:08:29 +01:00
parent 9fe89fdfa3
commit 62bfb9d452
4 changed files with 10 additions and 9 deletions

View file

@ -1,6 +1,6 @@
# Inform 7
v10.1.0-beta+6V01 'Krypton' (8 May 2022)
v10.1.0-beta+6V02 'Krypton' (9 May 2022)
## About Inform 7

View file

@ -1,3 +1,3 @@
Prerelease: beta
Build Date: 8 May 2022
Build Number: 6V01
Build Date: 9 May 2022
Build Number: 6V02

View file

@ -2702,7 +2702,7 @@ circled ideograph financial translates into Unicode as 12950.
circled ideograph fire translates into Unicode as 12939.
circled ideograph five translates into Unicode as 12932.
circled ideograph four translates into Unicode as 12931.
circled ideograph have translates into Unicode as 12946.
(circled ideograph have) translates into Unicode as 12946.
circled ideograph high translates into Unicode as 12964.
circled ideograph item translates into Unicode as 12960.
circled ideograph labor translates into Unicode as 12952.
@ -9659,7 +9659,7 @@ parenthesized ideograph financial translates into Unicode as 12854.
parenthesized ideograph fire translates into Unicode as 12843.
parenthesized ideograph five translates into Unicode as 12836.
parenthesized ideograph four translates into Unicode as 12835.
parenthesized ideograph have translates into Unicode as 12850.
(parenthesized ideograph have) translates into Unicode as 12850.
parenthesized ideograph labor translates into Unicode as 12856.
parenthesized ideograph metal translates into Unicode as 12846.
parenthesized ideograph moon translates into Unicode as 12842.

View file

@ -133,8 +133,8 @@ generated anyway; Inform authors never type them.
=
<translates-into-unicode-sentence-subject> ::=
<unicode-character-name> | ==> { pass 1 }
... ==> { -1, - }
( ... ) |
...
<translates-into-unicode-sentence-object> ::=
<cardinal-number-unlimited> | ==> { UnicodeLiterals::max(R[1]), - }
@ -156,7 +156,8 @@ generated anyway; Inform authors never type them.
int cc = <<r>>;
<translates-into-unicode-sentence-subject>(SP);
if ((<<r>> != -1) && (<<r>> != cc)) {
wording CN = GET_RW(<translates-into-unicode-sentence-subject>, 1);
if ((<unicode-character-name>(CN)) && (<<r>> != cc)) {
StandardProblems::sentence_problem(Task::syntax_tree(),
_p_(PM_UnicodeAlready),
"this Unicode character name has already been translated",
@ -164,7 +165,7 @@ generated anyway; Inform authors never type them.
return FALSE;
}
Nouns::new_proper_noun(SP, NEUTER_GENDER, ADD_TO_LEXICON_NTOPT, MISCELLANEOUS_MC,
Nouns::new_proper_noun(CN, NEUTER_GENDER, ADD_TO_LEXICON_NTOPT, MISCELLANEOUS_MC,
Diagrams::new_PROPER_NOUN(OP), Task::language_of_syntax());
@h Translation into Inter.