Syntax file for M4/Autoconf
Andrew V. Samoilov
kai at cmail.ru
Thu Sep 19 09:35:10 UTC 2002
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.
Yes, and I think Oracle SQL is more compatible with ANSI.
>
> 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
> =================================
This works just fine for Oracle SQL.
Thanks!
--
Regards,
Andrew . Samoilov
More information about the mc-devel
mailing list