AnssiR66 / AlanStdLib

The Standard Library for ALAN Interactive Fiction Language
Other
6 stars 2 forks source link

ALAN Highlight Syntax Failing to Close String in Ch 14 #102

Closed tajmone closed 3 years ago

tajmone commented 3 years ago

After updating lib_messages_runtime.i, a problem surfaced in its syntax highlighting in StdLib Manual 14. Run-Time Messages.

Syntax highlighting of the updated source file is now breaking up after the CANT0 message definition, where the following string is not being ended properly. There might be an issue with the current ALAN syntax for Highlight. Should look into it and fix it.

Also, I might consider to add the built-in MESSAGEs tokens to the ALAN HL syntax, either capturing them as the rest of ALAN keywords, or creating a dedicated keywords group for them (and update the SASS/CSS themes after, to provide a new color to them).

StdLib Manual §XXX

tajmone commented 3 years ago

This no longer matters since we're about to switch to Rouge highlighter!