Make snarfing tools more robust to varied C preprocessor behavior.
authorMark H Weaver <mhw@netris.org>
Thu, 6 Mar 2014 22:17:11 +0000 (17:17 -0500)
committerMark H Weaver <mhw@netris.org>
Thu, 6 Mar 2014 22:25:55 +0000 (17:25 -0500)
commitc3c3032608c9658c5dc5019d85446b6a1c2f7fcc
tree692a950dbcc09cb629289fb48248aad89a44976c
parentbf0d59e54de22f0a2e384b0fea2aa039769676fb
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.
libguile/guile-snarf.in
module/scripts/snarf-check-and-output-texi.scm