mc/misc/syntax
Grzegorz Szymaszek d5481d2684 Ticket #4319: fix SPICE syntax file to recognize where control script context ends
Since .endc was defined both as the context end delimiter and a context
keyword, it was 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 was preceded by a control script.

Fix the issue by making the control script context exclusive and
highlighting the .control and .endc keywords in the default context
instead.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2021-12-05 16:31:41 +03:00
..
ada95.syntax Ticket #3804: syntax: update Ada 95 keywords (ALT Linux #33330) 2017-04-04 19:29:46 +02:00
as.syntax Ticket #2708: Added ActionScript file syntax highlighting 2011-12-28 17:18:04 +03:00
aspx.syntax Syntax files normalization 2010-03-05 20:37:48 +02:00
assembler.syntax Ticket #2542: assembler.syntax: x86 AMD64 registers highlighting. 2012-07-27 09:55:29 +04:00
awk.syntax Ticket 1551: Update GPL version from 2 to 3 2011-10-18 14:08:34 +03:00
c.syntax mcedit: fixed syntax highlighting bug in .c and .cxx syntax scripts 2019-02-09 10:40:43 +03:00
cabal.syntax misc/syntax/cabal.syntax: added some cabal-1.8+ keywords 2012-03-09 21:16:28 +03:00
changelog.syntax Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax 2010-01-26 10:30:21 +02:00
cmake.syntax Ticket #3216: improve CMake syntax highlighting. 2014-07-25 09:33:44 +04:00
cobol.syntax Ticket #1987: mcedit: add Cobol syntax highlighting. 2020-05-04 08:34:05 +03:00
cs.syntax Syntax files normalization 2010-03-05 20:37:48 +02:00
css.syntax Ticket #4286: mcedit: fix errors in syntax definitions. 2021-09-04 18:36:27 +03:00
cuda.syntax Ticket #3686: initial support of CUDA syntax highlighting. 2016-09-11 11:13:51 +03:00
cxx.syntax mcedit: fixed syntax highlighting bug in .c and .cxx syntax scripts 2019-02-09 10:40:43 +03:00
cython.syntax Ticket #2427 (cython syntax highlighting) 2010-12-04 14:58:14 +00:00
d.syntax Typo fixes. 2013-07-23 14:15:24 +04:00
debian-changelog.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
debian-control.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
debian-description.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
debian-sources-list.syntax Ticket #4041: mcedit: update Debian sources.list syntax highlighting. 2019-12-08 10:12:26 +03:00
diff.syntax Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax 2010-01-26 10:30:21 +02:00
dlink.syntax Ticket #2649: dlink.syntax: syntax highlighting for D-Link switches command set. 2012-07-27 10:17:11 +04:00
dos.syntax Syntax files for case insensitive languages has been updated 2010-03-05 18:07:07 +02:00
ebuild.syntax Ticket #3988: mcedit: syntax: add many missing ebuild syntax variables and commands. 2019-05-18 17:26:20 +03:00
eiffel.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
erlang.syntax A few typofixes. 2014-09-02 15:32:36 +04:00
f90.syntax Ticket #3618: update f90 syntax. 2016-03-16 09:36:26 +03:00
filehighlight.syntax Changes for respect new 'HARDLINK' highlight type. 2011-02-18 15:20:34 +02:00
fortran.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
glsl.syntax Ticket #4286: mcedit: fix errors in syntax definitions. 2021-09-04 18:36:27 +03:00
go.syntax mceditor: syntax: add golang 2016-01-01 17:44:26 +04:00
haskell.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
hive.syntax Ticket #3828: syntax: Apache Hive query language 2017-06-16 13:46:52 +02:00
html.syntax mcedit: syntax: fix mismatched highlighting for <{o,u}l> HTML tags 2016-10-07 22:38:07 +02:00
idl.syntax Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax 2010-01-26 10:30:21 +02:00
ini.syntax Some fixies of ini.syntax (added default color) 2010-05-04 16:43:12 +02:00
j.syntax Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax 2010-01-26 10:30:21 +02:00
jal.syntax Ticket #2855: add syntax highlighting for JAL and LKR files. 2013-03-09 11:10:40 +04:00
java.syntax MidnightCommander/mc#95: update Java syntax: add missing keywords: _ assert strictfp. 2016-05-07 16:19:02 +03:00
js.syntax Ticket #3793: syntax: javascript - ES2015 support (closes MidnightCommander/mc#121) 2017-03-16 17:09:00 +01:00
json.syntax Ticket #4250: mcedit: add syntax highlighting for .json files. 2021-05-29 14:05:48 +03:00
kotlin.syntax Ticket #4088: mcedit: add Kotlin syntax highlighting. 2020-06-06 20:06:04 +03:00
latex.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
lisp.syntax Syntax files normalization 2010-03-05 20:37:48 +02:00
lkr.syntax Ticket #2855: add syntax highlighting for JAL and LKR files. 2013-03-09 11:10:40 +04:00
lsm.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
lua.syntax Ticket #3471: improve Lua syntax highlighting. 2015-06-18 21:17:40 +03:00
m4.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
mail.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
Makefile.am Ticket #4316: add basic Ngspice syntax highlighting. 2021-12-04 07:13:23 +03:00
makefile.syntax Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax 2010-01-26 10:30:21 +02:00
markdown.syntax Ticket #3893: fix markdown.syntax that doesn't work well for complex files 2018-05-09 18:12:42 +03:00
meson.syntax Ticket #3940: add Meson syntax highlighting. 2018-10-15 14:33:20 +03:00
ml.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
named.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
nemerle.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
nroff.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
octave.syntax Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax 2010-01-26 10:30:21 +02:00
opencl.syntax Ticket #3690: initial support of OpenCL syntax highlighting. 2016-11-21 14:30:20 +03:00
osl.syntax Ticket #3762: initial support of OpenShadingLanguage highlighting. 2017-01-29 09:40:31 +03:00
pascal.syntax Ticket #2531: wrong rules precedence 2011-07-14 12:04:07 +03:00
perl.syntax Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax 2010-01-26 10:30:21 +02:00
php.syntax Ticket # 4060: escape backslashes in PHP single quote string. 2020-02-08 19:45:59 +03:00
PKGBUILD.syntax Update PKGBUILD.syntax according to latest pacman version. 2015-06-20 20:59:48 +03:00
po.syntax Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax 2010-01-26 10:30:21 +02:00
povray.syntax Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax 2010-01-26 10:30:21 +02:00
procmail.syntax Ticket #4286: mcedit: fix errors in syntax definitions. 2021-09-04 18:36:27 +03:00
properties.syntax Ticket #1869: properties.syntax colors are difficult to read. 2012-07-27 09:40:50 +04:00
protobuf.syntax Ticket #3868: syntax: add Protocol Buffers and gRPC support. 2017-10-29 20:35:32 +03:00
puppet.syntax Add Puppet v4 & stdlib keywords 2016-01-07 09:04:35 +03:00
python.syntax Ticket #4140: update python.syntax. 2021-02-19 16:26:46 +03:00
r.syntax Ticket #4286: mcedit: fix errors in syntax definitions. 2021-09-04 18:36:27 +03:00
ruby.syntax Added new keyword to Ruby syntax 2011-07-12 11:45:41 +03:00
rust.syntax Ticket #3884: mceditor: syntax: add rust. 2017-12-07 13:58:07 +03:00
sh.syntax Ticket #4054: broken syntax highlighting for shell scripts. 2020-06-06 20:13:37 +03:00
slang.syntax Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax 2010-01-26 10:30:21 +02:00
smalltalk.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
spec.syntax Improvement of RPM spec syntax highlighting. 2020-05-01 17:35:47 +03:00
spice.syntax Ticket #4319: fix SPICE syntax file to recognize where control script context ends 2021-12-05 16:31:41 +03:00
sql.syntax syntax: add missing SQL keywords (closes MidnightCommander/mc#129) 2017-07-30 21:20:00 +02:00
strace.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
swift.syntax Ticket #4286: mcedit: fix errors in syntax definitions. 2021-09-04 18:36:27 +03:00
swig.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
Syntax.in Ticket #4316: add basic Ngspice syntax highlighting. 2021-12-04 07:13:23 +03:00
syntax.syntax mcedit: syntax.syntax: highlight comments preceded by spaces. 2017-01-22 18:44:22 +03:00
tcl.syntax Syntax files normalization 2010-03-05 20:37:48 +02:00
texinfo.syntax Syntax files normalization 2010-03-05 20:37:48 +02:00
ts.syntax Ticket #3794: syntax: TypeScript support (closes MidnightCommander/mc#122) 2017-03-19 10:40:07 +01:00
tt.syntax Syntax files normalization 2010-03-05 20:37:48 +02:00
unknown.syntax Moved dir $(srcdir)/syntax into $(srcdir)/misc/syntax 2010-01-26 10:30:21 +02:00
verilog.syntax verilog syntax: clarify that also refers to systemverilog, 2020-06-06 19:44:02 +03:00
vhdl.syntax Normalized formating for syntax files 2010-04-04 19:24:13 +03:00
xml.syntax Syntax files normalization 2010-03-05 20:37:48 +02:00
yabasic.syntax Ticket #4286: mcedit: fix errors in syntax definitions. 2021-09-04 18:36:27 +03:00
yaml.syntax Ticket #4010: inprove YAML syntax highlighting. 2019-08-31 19:34:39 +03:00
yum-repo.syntax Syntax files normalization 2010-03-05 20:37:48 +02:00
yxx.syntax Lex/Flex sources (extension .l) handled by yxx.syntax. Yacc/Bison syntax completed with all symbols. 2011-10-31 23:09:19 +03:00