Using a synonym in the syntax table corrupts the synonym

Description

You can see this in The Bean Stalker. It contains a line

<SYNTAX CLIMB ONTO OBJECT = V-PERCH>

"ONTO" is already defined in the library as a synonym for "ON". However, this line causes it to be defined a as a new preposition

{{
W?ON:: .ZWORD "on"
.BYTE 8,250,0

W?ONTO:: .ZWORD "onto"
.BYTE 8,243,0
}}

But it doesn't appear in the preposition table either:

{{
PRTBL:: .TABLE 46
.WORD 11,W?IN,PR?IN,W?UP,PR?UP,W?DOWN,PR?DOWN,W?THROUGH,PR?THROUGH,W?ON
.WORD PR?ON,W?AT,PR?AT,W?OFF,PR?OFF,W?INVENTORY,PR?INVENTORY,W?WITH,PR?WITH,W?TO
.WORD PR?TO,W?UNDER,PR?UNDER
.ENDT
}}

Activity

Show:

Tara J. McGrew January 19, 2023 at 8:49 PM

Fixed in a571bcfc804723987ab9c84e79dc2c78b1198fd8.

Tara J. McGrew March 7, 2022 at 9:50 PM

Jesse McGrew mentioned this issue in a commit of zilf / zilf on branch topic/default/zilf-230:

Change OldParserWord.Merge to overwrite old part-of-speech values if applicable.

Tara J. McGrew March 7, 2022 at 9:50 PM

Jesse McGrew mentioned this issue in a commit of zilf / zilf:

Add test for ZILF-230.

Tara J. McGrew August 11, 2021 at 6:19 AM

Jesse McGrew mentioned this issue in a commit of zilf / zilf on branch topic/default/zilf-230:

Change OldParserWord.Merge to overwrite old part-of-speech values if applicable.

Tara J. McGrew August 11, 2021 at 6:19 AM

Jesse McGrew mentioned this issue in a commit of zilf / zilf:

Add test for ZILF-230.

Fixed

Details

Assignee

Reporter

Components

Priority

Fix versions

Affects versions

Created November 5, 2020 at 4:39 AM
Updated January 19, 2023 at 8:49 PM
Resolved January 19, 2023 at 8:49 PM