From 99f6da572f455b0ba17c341ec1a63c5826de3ecf Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 22 Feb 2013 05:40:25 +0100 Subject: 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 --- src/parser.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/parser.h') 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); }; -- cgit v1.2.3