In a custom defined language (Euphoria), strings are delimited by " characters. You can embed a " in a string as \". For instance, the empty string is "", so that printing it on say the console would read puts(stdout,"\"\"").
The cusom highlighting for Euphoria works fine, except that
,
c_printf("%d = NewString(\"", a_value)
end if
escape_string( string )
, which is valid and running source code, is highlighted as a string from \"" on, presumably because the last " is seen as opening a new string, which it doesn't.
How can I recover proper highlighting for all the code that follows \"?
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In a custom defined language (Euphoria), strings are delimited by " characters. You can embed a " in a string as \". For instance, the empty string is "", so that printing it on say the console would read puts(stdout,"\"\"").
The cusom highlighting for Euphoria works fine, except that
,
c_printf("%d = NewString(\"", a_value)
end if
escape_string( string )
, which is valid and running source code, is highlighted as a string from \"" on, presumably because the last " is seen as opening a new string, which it doesn't.
How can I recover proper highlighting for all the code that follows \"?
CChris