summaryrefslogtreecommitdiff
path: root/libguile/c-tokenize.lex
Commit message (Collapse)AuthorAgeFilesLines
* build: Don't include <config.h> in native programs when cross-compiling.Ludovic Courtès2014-03-121-2/+7
| | | | | | | | | * libguile/Makefile.am (gen-scmconfig.$(OBJEXT)): When cross-compiling, pass -DCROSS_COMPILING=1. (c-tokenize.$(OBJEXT)): Likewise. * libguile/c-tokenize.lex (%top): Include <config.h> only when CROSS_COMPILING is undefined. * libguile/gen-scmconfig.c: Likewise.
* build: Make c-tokenize.c build on non-GNU systems.Ludovic Courtès2014-02-281-2/+6
| | | | | | | * 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.
* build: Fix compilation of `c-tokenize.c' with latest Gnulib.Ludovic Courtès2013-02-181-1/+2
| | | | | * libguile/c-tokenize.lex: Include <config.h>, to pull in Gnulib macro definitions now required.
* remove spurious declarations in c-tokenize.lexAndy Wingo2010-03-261-14/+0
| | | | | * libguile/c-tokenize.lex: Remove spurious declarations of flex-internal functions, as their prototypes are changing in upstream flex.
* Fix c-tokenize.c error: 'input' defined but not used, when compiling with ↵Neil Jerram2008-05-051-1/+6
| | | | GCC 4.3.0
* (yyget_lineno, yyget_in, yyget_out, yyget_leng,Mikael Djurfeldt2003-05-191-2/+14
| | | | | | yyget_text, yyset_lineno, yyset_in, yyset_out, yyget_debug, yyset_debug, yylex_destroy): Added prototypes (otherwise we'll get a compilation error if error-on-warning is enabled).
* Gobble up complete lines after a '#'. ThisMarius Vollmer2003-05-171-1/+1
| | | | | | removes preprocessor directives from the snarfage that might otherwise confuse us. These directives appear when compiling with "-g3", for example.
* * c-tokenize.lex: remove trailing comma from enum. Thanks toRob Browning2003-04-131-1/+1
| | | | Albert Chin.
* * c-tokenize.lex: add option %nounput to quiet warning.Rob Browning2001-07-191-0/+3
| | | | Add prototype for yylex to quiet warning.
* * snarf.h (SCM_SNARF_DOCS): change the "grammar" slightly.Michael Livshin2001-06-251-0/+180
* guile-snarf-docs.in, guile-snarf-docs-texi.in: rewrite & simplify. * eval.c: all hash signs are in column 0. * Makefile.am (guile_filter_doc_snarfage): build using c-tokenize.c, not filter-doc-snarfage.c. rearrange snarfing dependencies a bit. * c-tokenize.lex: new file.