diff options
Diffstat (limited to 'parser.cpp')
-rw-r--r-- | parser.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -925,6 +925,15 @@ StateStart::custom(gchar chr) throw (Error) break; } + case 'A': + BEGIN_EXEC(this); + v = interface.ssm(SCI_GETCURRENTPOS) + + expressions.pop_num_calc(); + if (!Validate::pos(v)) + throw RangeError("A"); + expressions.push(interface.ssm(SCI_GETCHARAT, v)); + break; + default: throw SyntaxError(chr); } |