Syntax file for M4/Autoconf
Pavel Roskin
proski at gnu.org
Wed Sep 18 18:08:58 UTC 2002
On Wed, 18 Sep 2002, Andrew V. Samoilov wrote:
> Pavel Roskin wrote:
> >
> > The question about comments may be for me. I remember that I just scanned
> > the web for SQL files and checked sources of PostgreSQL and MySQL.
> > PostgreSQL uses "--". MySQL uses "#". Take MySQL source and look for
> > *.test files.
> >
> It's very bad - # has not special sence and can be used in keywords in
> Oracle. Only --, rem[ark] and /* */ are legal comments there.
You mean names of columns and tables? MySQL doesn't allow it.
How about this?
=================================
--- sql.syntax
+++ sql.syntax
@@ -477,7 +477,7 @@
keyword , brightcyan/14
keyword ; brightcyan/14
-context # \n brown/22
+context linestart # \n brown/22
spellcheck
context exclusive -- \n brown/22
=================================
--
Regards,
Pavel Roskin
More information about the mc-devel
mailing list