Ticket #4319 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

The SPICE syntax file does not recognize where the control script context ends

Reported by: gszymaszek Owned by: andrew_b
Priority: trivial Milestone: 4.8.28
Component: mcedit Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset: committed-master

Description

Since .endc is defined both as the context end delimiter and a context keyword, it is not recognized as the former and the control script context, once started, would never be finished. This issue can be noticed, for example, in wrong syntax highlighting of the .end command if it is preceded by a control script.

The issue can be fixed by making the control script context exclusive and highlighting the .control and .endc keywords in the default context instead.

Attachments

0001-Fix-SPICE-syntax-file-to-recognize-where-control-scr.patch (1.9 KB) - added by gszymaszek 3 years ago.

Change History

comment:1 Changed 3 years ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b

comment:2 Changed 3 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset set to committed-master
  • Resolution set to fixed
  • Milestone changed from Future Releases to 4.8.28

comment:3 Changed 3 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.