aboutsummaryrefslogtreecommitdiffhomepage
path: root/parse_util.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-05 23:10:35 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-05 23:10:35 +1000
commit58667673d921a782f4a531255344983bbadb9288 (patch)
tree5c49d356be69c5b2e9b841191fb6cd7a8c8c0bae /parse_util.h
parenta53a9aa2932a1581f278f97f9f2c0d55a031de48 (diff)
Remove duplicate line counting code. Make the remaining implementation have a two element cache.
darcs-hash:20060205131035-ac50b-885c6ba87a6d16aa48dfa7ee4608ae8891c71724.gz
Diffstat (limited to 'parse_util.h')
-rw-r--r--parse_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse_util.h b/parse_util.h
index 30f47ef8..3b21e09b 100644
--- a/parse_util.h
+++ b/parse_util.h
@@ -47,4 +47,7 @@ void parse_util_token_extent( const wchar_t *buff,
const wchar_t **prev_begin,
const wchar_t **prev_end );
+int parse_util_lineno( const wchar_t *str, int len );
+
+
#endif