Syntax file for M4/Autoconf

Vlad Romanenko VladRomanenko at ukr.net
Wed Sep 18 14:46:06 UTC 2002


Hello!

This time I'd like to contribute a syntax file for M4 macroprocessor
with autoconf support.
(m4.syntax attached)
Put these lines in Syntax:
----
file (..\*\\.m4$|configure.in) M4\sMacroprocessor\sSource
include m4.syntax
----
And add a line to syntax/Makefile.am


Pavel, I'm sorry, but I misspelled word 'highlighting' in ChangeLog
entry for js.syntax.
I'd be glad if you corrected it (js.syntax-spelling.patch)

Also, what do you think of adding numbers highlighting to C and Java
syntax files?

There are some more changes that I'd like to contribute to c.syntax such
as
- alphabetic sorting of keywords
- better preprocessor directives highlighting
- removing unnessesary syntax rules (for example we don't need to
highlight '==' if there's '=')
What do you think?

Regards,
Vlad Romanenko.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: js.syntax-spelling.patch
Type: application/octet-stream
Size: 807 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20020918/07f47f9d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: m4.syntax
Type: application/octet-stream
Size: 5333 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20020918/07f47f9d/attachment-0001.obj>


More information about the mc-devel mailing list