aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-21 14:15:41 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-21 14:15:41 +0100
commit172a136bede965c2648e30a61d8768afde280b76 (patch)
tree7b40b67e1bddfa91ef144ba56974d7747857a62d /parser.h
parentb82811963efb6170bbabbefe9acf1f023e5400ee (diff)
downloadsciteco-172a136bede965c2648e30a61d8768afde280b76.tar.gz
support "\" and <n>\ commands to insert and read integers in the current radix from/to the buffer
* uncommon radices are allowed but reading stops on non-alphanumeric characters (and characters on allowed by the current radix)
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/parser.h b/parser.h
index 819e418..79f9219 100644
--- a/parser.h
+++ b/parser.h
@@ -159,8 +159,12 @@ public:
StateStart();
private:
+ void insert_integer(gint64 v);
+ gint64 read_integer(void);
+
tecoBool move_chars(gint64 n);
tecoBool move_lines(gint64 n);
+
tecoBool delete_words(gint64 n);
State *custom(gchar chr) throw (Error);