 Roody
Member
|
Hi, I use a somewhat obscure text adventure language called Hugo that has some funny syntax, and now I’m trying to make a PN schemedef file to suit it.
First off, is there any way to terminate the preprocessor coloring before the end of line? I’ve played around with some methods but nothing has worked.
Secondly, is there a way to use regular expression for comment definitions? Hugo uses “!” for single line comments, and “!” to begin blocks and “!” to end blocks. Right now, they aren’t coexisting happily.
Thanks for any help!
|
 simon
Key Master
|
There’s no way to terminate preprocessor coloring, but you could try using something else like a string type for this. However I don’t know if you could easily get it so that it was terminated either by line end or a closing character. You’d need to experiment.
The comment thing is unfortunate, there’s no support for regular expressions for matching at the moment, although there may be something like this in the future.
|