[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-219-ge1bb7
From: |
Ludovic Courtès |
Subject: |
[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-219-ge1bb79f |
Date: |
Fri, 28 Feb 2014 20:01:35 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=e1bb79fde62e678c0f8ceb32c7edd2dab0201a5c
The branch, stable-2.0 has been updated
via e1bb79fde62e678c0f8ceb32c7edd2dab0201a5c (commit)
from 6587bcfa53f620142e4f712ad347a25e3c33a9bc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e1bb79fde62e678c0f8ceb32c7edd2dab0201a5c
Author: Ludovic Courtès <address@hidden>
Date: Fri Feb 28 21:00:11 2014 +0100
build: Make c-tokenize.c build on non-GNU systems.
* libguile/c-tokenize.lex: Add %top directive to include <config.h>
first. This fixes builds on systems that use Gnulib's <stdio.h> and
similar replacements. See <http://hydra.nixos.org/build/9259627> for
an example.
-----------------------------------------------------------------------
Summary of changes:
libguile/c-tokenize.lex | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/libguile/c-tokenize.lex b/libguile/c-tokenize.lex
index 856224e..a64b61d 100644
--- a/libguile/c-tokenize.lex
+++ b/libguile/c-tokenize.lex
@@ -1,3 +1,9 @@
+%top{
+/* Include <config.h> before anything else because Gnulib headers such
+ as <stdio.h> rely on it. */
+#include <config.h>
+}
+
%option noyywrap
%option nounput
%pointer
@@ -14,8 +20,6 @@ FLOQUAL (f|F|l|L)
INTQUAL (l|L|ll|LL|lL|Ll|u|U)
%{
-#include <config.h>
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-219-ge1bb79f,
Ludovic Courtès <=