diff --git a/main.py b/main.py index c1608f7..8b0ffec 100755 --- a/main.py +++ b/main.py @@ -76,7 +76,8 @@ def PreparePreproc(script): # ab. But in LSL, forgetting about the preprocessor, the string # "a\\nb" is valid and stands for a\nb. The principle of # least surprise seems to suggest to accept valid LSL strings as LSL - # instead of reproducing that C quirk. + # instead of reproducing that C quirk. This also matches what FS is doing + # currently, so it's good for compatibility. tok = re.compile( r'(?:' r'/(?:\?\?/\n|\\\n)*\*.*?\*(?:\?\?/\n|\\\n)*/'