From 3fdecca05ea781c592d5acf0c3610f3a2be31706 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 24 Feb 2012 16:06:47 -0800 Subject: * debug.c (debug): Use new way of getting line number. * eval.c (eval_error): Use source_loc_str to get source location. * match.c (debuglf, sem_err, file_err): Likewise. * parser.h (source_loc_str): Declared. * parser.l (parse_init): form_to_ln_hash must be equal based now. * parser.y (rl): Store new form of read-time source location info. * txr.1: Documented load. --- parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'parser.h') diff --git a/parser.h b/parser.h index 519da719..e3e77600 100644 --- a/parser.h +++ b/parser.h @@ -41,6 +41,7 @@ int yylex(void); void parse_init(void); void parse_reset(val spec_file); val source_loc(val form); +val source_loc_str(val form); val rl(val form, val lineno); INLINE val rlcp(val to, val from) { -- cgit v1.2.3