From b43d605b8986b8ef2edd11abf7ed5b7e4313d318 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 11 Apr 2012 10:58:40 -0700 Subject: Provide access to line number info and source path. * eval.c (eval_init): New intrinsic functions source-loc and source-loc-str. New variable *self-path*. * txr.1: Stub doc sections. * txr.c (self_path): New variable. * txr.h (self_path): Declared. * txr.vim: Syntax highlighting for source-loc, source-loc-str and *self-path*. --- txr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'txr.h') diff --git a/txr.h b/txr.h index 8f6b7f91..669ceff3 100644 --- a/txr.h +++ b/txr.h @@ -35,3 +35,4 @@ extern int opt_vg_debug; extern int opt_derivative_regex; extern const wchli_t *version; extern const wchar_t *progname; +extern val self_path; -- cgit v1.2.3