| Commit message (Expand) | Author | Age | Files | Lines |
* | Make snarfing tools more robust to varied C preprocessor behavior....* libguile/guile-snarf.in (modern_snarf): Rewrite sed script to cope
with newlines in the snarfed code segments, or multiple code segments
on the same line.
* module/scripts/snarf-check-and-output-texi.scm (process-stream):
Strip all 'hash' tokens from the stream.
(do-command): Remove special cases that handled 'hash' tokens
in a few places.
| Mark H Weaver | 2014-03-06 | 1 | -8/+11 |
* | fix guile-snarf...* libguile/snarf.h: New macro `SCM_SNARF_INIT_PREFIX'. (SCM_SNARF_INIT)
Use `SCM_SNARF_INIT_PREFIX' instead of including a literal marker. If
the preprocessor echoes #define directives to its output, this will
prevent `guile-snarf' from snarfing the `SCM_SNARF_INIT' definition
itself. Reported by Mike Gran <spk121@yahoo.com>.
* libguile/guile-snarf.in (modern_snarf): Don't output anything for
lines in which only one of the magic snarfing markers is present.
Modify the `sed' program for compatibility with POSIX `sed'. The new
`sed' program is based on a version by Wolfgang Jenkner
<wjenkner@inode.at>.
* test-suite/standalone/test-guile-snarf: New tests.
| BT Templeton | 2011-03-20 | 1 | -1/+14 |
* | guile-snarf: allow multiple init actions on one line...* libguile/guile-snarf.in (modern_snarf): Allow programs to specify
multiple initialization actions on a single line. This makes it
possible for C programs to define multiple subrs with a single macro
invocation.
* test-suite/standalone/test-guile-snarf: Enable more tests.
| BT Templeton | 2011-03-04 | 1 | -1/+1 |
* | Merge branch 'boehm-demers-weiser-gc' into bdw-gc-static-alloc...Conflicts:
acinclude.m4
libguile/strings.c
| Ludovic Courtès | 2009-09-02 | 1 | -13/+13 |
|\ |
|
| * | Change Guile license to LGPLv3+...(Not quite finished, the following will be done tomorrow.
module/srfi/*.scm
module/rnrs/*.scm
module/scripts/*.scm
testsuite/*.scm
guile-readline/*
)
| Neil Jerram | 2009-06-17 | 1 | -13/+13 |
* | | Allow several `SNARF_INIT ()' per CPP output line....* libguile/guile-snarf.in (modern_snarf): Allow several `SNARF_INIT ()'
per line. This makes it possible to write snarffing macros that
contain several `SNARF_INIT ()' invocations.
| Ludovic Courtès | 2009-01-31 | 1 | -2/+2 |
|/ |
|
* | guile-snarf: Honor $TMPDIR. | Ludovic Courtès | 2008-02-12 | 1 | -2/+5 |
* | merge from 1.8 branch | Kevin Ryde | 2006-04-17 | 1 | -1/+1 |
* | The FSF has a new address. | Marius Vollmer | 2005-05-23 | 1 | -2/+2 |
* | Instead of the non-portable mktemp, use mkdir to create a unique...temporary directory that we can safely use. Thanks to Stefan
Nordhausen!
| Marius Vollmer | 2004-01-10 | 1 | -2/+4 |
* | Use mktemp to create a truely unique temporary file name. Thanks to...Stefan Nordhausen!
| Marius Vollmer | 2004-01-10 | 1 | -2/+2 |
* | Do not expect the input file to be the first argument after the...optional "-o" option, just pass everything to the pre-processor
without extracting the input file name.
| Marius Vollmer | 2002-08-24 | 1 | -58/+24 |
* | Do not clean input file. This would write to the $(srcdir) during a...VPATH build, which is not allowed. It also isn't needed since it only
works when an output filename has been specified and in that case we
don't need to clean the input file because the output file will
already exist.
| Marius Vollmer | 2002-04-17 | 1 | -15/+2 |
* | Install the trap for removing $cleanfile only when the value of...$cleanfile is actually known.
| Marius Vollmer | 2002-04-16 | 1 | -1/+2 |
* | When the output filename is "-", write to stdout. When no "-o" option...is given, use "-" as the output filename (i.e., stdout). Only 'clean'
the inputfile or remove the output file on error when the output file
name is not "-". Define the preprocessor macro SCM_MAGIC_SNARFER
while snarfing.
| Marius Vollmer | 2002-03-24 | 1 | -19/+28 |
* | Typofix. | Thien-Thi Nguyen | 2002-03-15 | 1 | -1/+0 |
* | Remove "--compat=1.4" support....Add "-d" and "-D" support.
(deprecated_list): New var.
(compat_mode_clean_xxx): Delete.
(grep_deprecated): New func.
("main"): If "-d" or "-D", call `grep_deprecated'.
| Thien-Thi Nguyen | 2002-03-15 | 1 | -18/+34 |
* | (modern_snarf): Remove everything following and including "^:^" from...the output.
| Marius Vollmer | 2002-03-14 | 1 | -1/+1 |
* | Update copyright....Rewrite to internalize error handling.
Add commentary.
| Thien-Thi Nguyen | 2002-03-14 | 1 | -15/+94 |
* | * alist.c, arbiters.c, async.h, backtrace.h, boolean.c, chars.c,... chars.h, continuations.h, debug-malloc.h, dynl.c, feature.c,
feature.h, filesys.h, fluids.h, fports.h, gc_os_dep.c,
gdb_interface.h, gh_eval.c, gh_funcs.c, gh_io.c, gh_list.c,
gh_predicates.c, gsubr.c, gsubr.h, guardians.h,
guile-func-name-check.in, guile-snarf-docs-texi.in,
guile-snarf-docs.in, guile-snarf.awk.in, guile-snarf.in,
hashtab.h, iselect.h, keywords.h, lang.c, list.h, load.h,
objprop.c, objprop.h, options.c, options.h, random.h,
regex-posix.h, root.c, root.h, script.c, snarf.h, stackchk.c,
strerror.c, strop.h, strports.h, threads.h, values.c, values.h,
version.c, version.h: Updated copyright notice.
| Martin Grabmüller | 2001-07-19 | 1 | -1/+1 |
* | * filter-doc-snarfage.c, guile-snarf.in: try to cope with spaces...inside cookies. thanks to Matthias Köppe!
| Michael Livshin | 2001-06-08 | 1 | -1/+1 |
* | * guile-snarf-docs.in, guile-snarf-docs-texi.in,...filter-doc-snarfage.c: new files.
* Makefile.am: add stuff to [build,] use and distribute
guile-snarf-docs, guile-snarf-docs-texi, guile_filter_doc_snarfage.
* guile-snarf.in: grok the new snarf output.
* snarf.h: make the output both texttools- and `read'-friendly.
* guile-doc-snarf.in (bindir): reimplement in terms of guile-snarf
and guile-snarf-docs. (should also deprecate, I guess. maybe
not).
| Michael Livshin | 2001-05-31 | 1 | -2/+2 |
* | Added copyright and licence notice. | Marius Vollmer | 2001-02-21 | 1 | -0/+17 |
* | * Renamed SCM__X tokens to better readable ones that also follow the... SCM_SNARF_ prefix convention.
| Dirk Herrmann | 2000-06-21 | 1 | -1/+1 |
* | * guile-snarf.in: Change regexp "^SCM__I" --> "^ *SCM__I"....(The preprocessor might insert spaces before the identifier.)
| Mikael Djurfeldt | 2000-06-12 | 1 | -1/+1 |
* | * snarf.h, guile-snarf.awk.in, guile-snarf.in: Replaced snarf...markers with identifiers (SCM__I, SCM__D, SCM__S, SCM__E).
(Thanks to Bernard Urban.)
| Mikael Djurfeldt | 2000-06-08 | 1 | -1/+1 |
* | * guile-snarf.awk.in, guile-snarf.in: Made to work also for...preprocessors which interpret $$$ and other markers as three
separate tokens and puts spaces in between. NOTE: We could
replace %%% etc with real identifiers. However, before the 1.4
release, we instead make minimal changes to the existing
system. (Thanks to Bernard Urban.)
| Mikael Djurfeldt | 2000-06-08 | 1 | -1/+1 |
* | * snarf.h: Drop SCM_PROC, SCM_PROC1. Added extra output for...guile-doc-snarf script.
* guile-doc-snarf.in, guile-doc-snarf.awk: New, simple doc
extraction system. Builds foo.x, foo.doc from foo.{c,cc}.
There are dependencies between these files and snarf.h. This
replaces guile-snarf.
* guile-snarf.in: Drop everything after $$$ for the new snarf.h
macros. This is obsoleted by guile-doc-snarf, but kept here for
now for good measure.
* Makefile.am: Added guile-doc-snarf, guile-doc-snarf.awk to
bin_SCRIPTS. Added .doc to SUFFIXES, and give rule for creating
.doc files to use guile-doc-snarf. Update the rule for creating
.x files to use guile-doc-snarf.
| Greg J. Badros | 1999-12-12 | 1 | -1/+1 |
* | * guile-snarf.in: Be sure to exit with an error if CPP does....* Makefile.am (.c.x): Delete the .x file and exit with an error
status if guile-snarf exits with an error status.
* Makefile.in: Regenerated.
| Jim Blandy | 1999-09-05 | 1 | -1/+8 |
* | * guile-snarf.in: Never generate an empty file. (Thanks to...Richard Polton.)
Bug reports from Russ McManus:
* guile-snarf.in: If the CPP environment variable is set, use that
as the C preprocessor, instead of the preprocessor autoconf
found.
* snarf.h (SCM_PROC): Cast the function pointer passed to
scm_make_gsubr, to satisfy C++.
| Jim Blandy | 1998-10-24 | 1 | -1/+7 |
* | * guile-snarf.in: Pass args through to gcc in a way that preserves...whitespace boundaries. (Thanks to Greg Badros.)
| Jim Blandy | 1997-12-03 | 1 | -1/+1 |
* | Fixed Guile snarfing problem with SunPro suite. | Tim Pierce | 1997-06-20 | 1 | -1/+1 |
* | guile-snarf script once again used for creating .x files | Tom Tromey | 1996-12-10 | 1 | -0/+4 |