diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-12 07:02:35 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-12 07:02:35 +0100 |
commit | e87bca2e733c352c90f7823e1b237db55cc51622 (patch) | |
tree | 444bc8ba0b8df4cd128ec42fd27e7ef06d812480 | |
parent | 50de1043dc325c8e1adda94c6113607e741d4015 (diff) | |
download | sciteco-e87bca2e733c352c90f7823e1b237db55cc51622.tar.gz |
fix: process @ modifier in PARSE_ONLY mode; fixes alternate string escapes in parse only mode
-rw-r--r-- | parser.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -560,7 +560,10 @@ StateStart::custom(gchar chr) * modifiers */ case '@': - BEGIN_EXEC(this); + /* + * @ modifier has syntactic significance so set it even + * in PARSE_ONLY mode + */ undo.push_var<bool>(Modifiers::at); Modifiers::at = true; break; |