mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +02:00
fix problems with gcc-2.96.
This commit is contained in:
parent
387c1a3bc0
commit
66418d3465
3 changed files with 15 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
|||
2001-03-07 Keisuke Nishida <kxn30@po.cwru.edu>
|
||||
|
||||
* Makefile.am (*.x): Add dependency on snarf.h and guile-doc-snarf.in.
|
||||
(*.doc): Add dependency on guile-snarf.awk.in.
|
||||
|
||||
* guile-snarf.awk.in: Neglect spaces at the end of
|
||||
SCM_SNARF_DOCSTRING_END. Skip lines "# NN ..." in the
|
||||
middle of docstrings. (To avoid the problem with gcc-2.96.)
|
||||
|
||||
2001-03-06 Dirk Herrmann <D.Herrmann@tu-bs.de>
|
||||
|
||||
* coop-threads.c (scm_call_with_new_thread), load.c
|
||||
|
|
|
@ -175,10 +175,13 @@ SUFFIXES = .x .doc
|
|||
.c.x:
|
||||
./guile-doc-snarf $< $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $< > $@ \
|
||||
|| { rm $@; false; }
|
||||
.x.doc:
|
||||
.x.doc:
|
||||
./guile-doc-snarf $(srcdir)/$*.c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(srcdir)/$*.c > /dev/null \
|
||||
|| { rm $@; false; }
|
||||
|
||||
*.x: snarf.h guile-doc-snarf.in
|
||||
*.doc: guile-snarf.awk.in
|
||||
|
||||
error.x: cpp_err_symbols.c
|
||||
posix.x: cpp_sig_symbols.c
|
||||
load.x: libpath.h
|
||||
|
|
|
@ -98,6 +98,7 @@ BEGIN { FS="|";
|
|||
|
||||
/SCM_SNARF_DOCSTRING_START/,/SCM_SNARF_DOCSTRING_END.*$/ { copy = $0;
|
||||
gsub(/.*SCM_SNARF_DOCSTRING_START/,"",copy);
|
||||
sub(/^\#.*/,"", copy);
|
||||
sub(/^[ \t]*\"?/,"", copy);
|
||||
sub(/\"?[ \t]*SCM_SNARF_DOCSTRING_END.*$/,"", copy);
|
||||
gsub(/\\n\\n\"?/,"\n",copy);
|
||||
|
@ -107,7 +108,7 @@ BEGIN { FS="|";
|
|||
if (copy != "") { print copy > dot_doc_file }
|
||||
}
|
||||
|
||||
/SCM_SNARF_DOCSTRING_END[ \t]/ { print "@end deffn" >> dot_doc_file; }
|
||||
/SCM_SNARF_DOCSTRING_END[ \t]*/ { print "@end deffn" >> dot_doc_file; }
|
||||
|
||||
/\*&\*&\*&\*SCM_ARG_BETTER_BE_IN_POSITION/ { copy = $0;
|
||||
sub(/.*\*&\*&\*&\*SCM_ARG_BETTER_BE_IN_POSITION\([ \t]*/,"",copy);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue