two_sided_delimiter workaround (Broken comment blocks in LSL '/*comment*/') Didn't want to mess with the token class for one single case. This fix is pretty straight-forward and self-contained.
This commit is contained in:
@@ -644,11 +644,12 @@ return Leave current function or event handler
|
||||
# Comment
|
||||
[one_sided_delimiter .8, .3, .15]
|
||||
// Comment:Non-functional commentary or disabled code
|
||||
# for now two_sided_delimiter spans from the token to the token, reversed. (eg: /* to */)
|
||||
[two_sided_delimiter .8, .3, .15]
|
||||
/* */ Comment:Non-functional commentary or disabled code
|
||||
/* Comment:Non-functional commentary or disabled code
|
||||
|
||||
# String literals
|
||||
[two_sided_delimiter_esc 0, .2, 0]
|
||||
" " String literal
|
||||
" String literal
|
||||
|
||||
#functions are supplied by the program now.
|
||||
|
||||
@@ -603,11 +603,12 @@ return Leave current function or event handler
|
||||
# Comment
|
||||
[one_sided_delimiter .86, .69, .50]
|
||||
// Comment:Non-functional commentary or disabled code
|
||||
# for now two_sided_delimiter spans from the token to the token, reversed. (eg: /* to */)
|
||||
[two_sided_delimiter .86, .69, .50]
|
||||
/* */ Comment:Non-functional commentary or disabled code
|
||||
/* Comment:Non-functional commentary or disabled code
|
||||
|
||||
# String literals
|
||||
[two_sided_delimiter_esc .57, .83, .52]
|
||||
" " String literal
|
||||
" String literal
|
||||
|
||||
#functions are supplied by the program now.
|
||||
|
||||
Reference in New Issue
Block a user