summaryrefslogtreecommitdiff
path: root/libguile/c-tokenize.lex
Commit message (Expand)AuthorAgeFilesLines
* build: Don't include <config.h> in native programs when cross-compiling....* 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. Ludovic Courtès2014-03-121-2/+7
* 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. Ludovic Courtès2014-02-281-2/+6
* build: Fix compilation of `c-tokenize.c' with latest Gnulib....* libguile/c-tokenize.lex: Include <config.h>, to pull in Gnulib macro definitions now required. Ludovic Courtès2013-02-181-1/+2
* remove spurious declarations in c-tokenize.lex...* libguile/c-tokenize.lex: Remove spurious declarations of flex-internal functions, as their prototypes are changing in upstream flex. Andy Wingo2010-03-261-14/+0
* Fix c-tokenize.c error: 'input' defined but not used, when compiling with GCC...Neil Jerram2008-05-051-1/+6
* (yyget_lineno, yyget_in, yyget_out, yyget_leng,...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). Mikael Djurfeldt2003-05-191-2/+14
* Gobble up complete lines after a '#'. This...removes preprocessor directives from the snarfage that might otherwise confuse us. These directives appear when compiling with "-g3", for example. Marius Vollmer2003-05-171-1/+1
* * c-tokenize.lex: remove trailing comma from enum. Thanks to...Albert Chin. Rob Browning2003-04-131-1/+1
* * c-tokenize.lex: add option %nounput to quiet warning....Add prototype for yylex to quiet warning. Rob Browning2001-07-191-0/+3
* * snarf.h (SCM_SNARF_DOCS): change the "grammar" slightly....* 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. Michael Livshin2001-06-251-0/+180