Syntax highlighting question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In assembly language, labels are defined by a string and a closing
colone. For example:

label1:

The syntax file requires a start and a stop pattern. But the start
pattern can't be an asteric `*' nor a selection of allowed characters
`\[abc...\]'.

I tried:

keyword whole *:                   /* not allowed        */
keyword whole \[abcde....\]:       /* not allowed        */
keyword whole \n\[abcde....\]:     /* doesn't work       */
keyword whole \n*:                 /* same               */

context ; \n brown/22              /* works for comments */

context \n : brown/22              /* doesn't work       */
context    : brown/22              /* not allowed        */
context *  : brown/22              /* not allowed        */
context \[abcde....\] : brown/22   /* not allowed        */
context \n\[abcde....\] : brown/22 /* not allowed        */


However, is there a way to get it working?


Jules

Thanks for helping
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)

iD8DBQFDAJ/hqnB/c6r7jvcRAp8LAJwJQSxBfHyFL1MTGV54P5K6zVXTxQCfWhnb
8F4WcqKILKp5LgNNtbzTP34=
=W/G0
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]