aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-22 05:40:25 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-22 05:40:25 +0100
commit99f6da572f455b0ba17c341ec1a63c5826de3ecf (patch)
treeb4e18e283b840127c21597a857be49403b2bb06b /src/parser.h
parent5d5182158a982057a9fe4c7b3f3ac81e1536f1ff (diff)
downloadsciteco-99f6da572f455b0ba17c341ec1a63c5826de3ecf.tar.gz
use typedef for SciTECO integers and make it configurable at configure time
* storage size should always be 64 (gint64) to aid macro portability * however, for performance reasons users compiling from source might explicitly compile with 32 bit integers
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/parser.h b/src/parser.h
index da9bfee..e3c810c 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -199,13 +199,13 @@ public:
StateStart();
private:
- void insert_integer(gint64 v);
- gint64 read_integer(void);
+ void insert_integer(tecoInt v);
+ tecoInt read_integer(void);
- tecoBool move_chars(gint64 n);
- tecoBool move_lines(gint64 n);
+ tecoBool move_chars(tecoInt n);
+ tecoBool move_lines(tecoInt n);
- tecoBool delete_words(gint64 n);
+ tecoBool delete_words(tecoInt n);
State *custom(gchar chr) throw (Error, ReplaceCmdline);
};