1
From: Andy Wingo <wingo@oblong.net>
2
Date: Sun, 17 Jan 2010 17:22:51 +0000 (+0100)
3
Subject: fix doc snarfing with fedora 12
5
fix doc snarfing with fedora 12
7
* module/scripts/snarf-check-and-output-texi.scm
8
(process-multiline-directive): Be more accepting of source location
9
markers in the preprocessed source, by adding a couple cases in which
10
they can appear. Not foolproof, but it does adapt to what new GCCs are
11
putting out (e.g. cpp (GCC) 4.4.2 20091222 (Red Hat 4.4.2-20)).
13
Origin: backport, http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=445f31fc06d338f0cafda188d0287f935c2edc3c
15
Index: b/scripts/snarf-check-and-output-texi
16
===================================================================
17
--- a/scripts/snarf-check-and-output-texi
18
+++ b/scripts/snarf-check-and-output-texi
23
+ ;; newer gccs like to throw around more location markers into the
24
+ ;; preprocessed source; these (hash . hash) bits are what they translate to
26
+ (('location ('string . file) ('int . line) ('hash . 'hash))
30
+ (('location ('hash . 'hash) ('string . file) ('int . line) ('hash . 'hash))
35
(set! *args* (do-arglist rest)))