From 35687f1b0f9fa108a7a4708a84f06ed591fe9e09 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Wed, 4 Jan 2017 05:07:50 +0100 Subject: [PATCH] Expand a comment. --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)*/'