Menu

#407 The first public rule of the parent jsgf grammar should be selected if no -toprule is given

sometimes
closed
nobody
5
2014-12-07
2014-12-05
Laimis
No

When no -toprule is given ps selects the first public rule. In cases, when jsgf grammars are imported, it could be the rule from external grammar, which is unexpectedly selected, although parent grammar is especially made with ps jsgf restrictions in mind (has only one public rule which is supposed to be selected).
Suggested patch attached.

1 Attachments

Discussion

  • Nickolay V. Shmyrev

    Thanks for the report. I've committed slightly different patch, now this issue should be fixed.

     
  • Nickolay V. Shmyrev

    • status: open --> closed
     

Log in to post a comment.