1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00

Remove authorship comment.

This commit is contained in:
Thien-Thi Nguyen 2001-07-09 19:35:00 +00:00
parent ccffec9318
commit 103c9f01a4
8 changed files with 22 additions and 38 deletions

View file

@ -22,8 +22,6 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330, ;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;; Boston, MA 02111-1307 USA ;; Boston, MA 02111-1307 USA
;;; Author: J.R.Hacker
;;; Commentary: ;;; Commentary:
;; Usage: PROGRAM [ARGS] ;; Usage: PROGRAM [ARGS]

View file

@ -22,8 +22,6 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330, ;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;; Boston, MA 02111-1307 USA ;; Boston, MA 02111-1307 USA
;;; Author: Thien-Thi Nguyen
;;; Commentary: ;;; Commentary:
;; Usage: display-commentary FILE1 FILE2 ... ;; Usage: display-commentary FILE1 FILE2 ...

View file

@ -22,8 +22,6 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330, ;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;; Boston, MA 02111-1307 USA ;; Boston, MA 02111-1307 USA
;;; Author: Martin Grabmueller
;;; Commentary: ;;; Commentary:
;; Usage: doc-snarf FILE ;; Usage: doc-snarf FILE

View file

@ -22,8 +22,6 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330, ;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;; Boston, MA 02111-1307 USA ;; Boston, MA 02111-1307 USA
;;; Author: Thien-Thi Nguyen
;;; Commentary: ;;; Commentary:
;; Usage: generate-autoload [OPTIONS] FILE1 FILE2 ... ;; Usage: generate-autoload [OPTIONS] FILE1 FILE2 ...

View file

@ -22,8 +22,6 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330, ;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;; Boston, MA 02111-1307 USA ;; Boston, MA 02111-1307 USA
;;; Author: Thien-Thi Nguyen
;;; Commentary: ;;; Commentary:
;; Usage: punify FILE1 FILE2 ... ;; Usage: punify FILE1 FILE2 ...

View file

@ -22,8 +22,6 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330, ;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;; Boston, MA 02111-1307 USA ;; Boston, MA 02111-1307 USA
;;; Author: Thien-Thi Nguyen
;;; Commentary: ;;; Commentary:
;; Usage: read-scheme-source FILE1 FILE2 ... ;; Usage: read-scheme-source FILE1 FILE2 ...

View file

@ -22,8 +22,6 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330, ;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;; Boston, MA 02111-1307 USA ;; Boston, MA 02111-1307 USA
;;; Author: Michael Livshin
;;; Code: ;;; Code:
(define-module (scripts snarf-check-and-output-texi) (define-module (scripts snarf-check-and-output-texi)
@ -65,7 +63,7 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
(loop (stream-cdr s))) (loop (stream-cdr s)))
(else (cons (stream-car s) (stream-cdr s)))))) (else (cons (stream-car s) (stream-cdr s))))))
(port->stream port read))))) (port->stream port read)))))
(unless (stream-null? input) (unless (stream-null? input)
(let ((token (stream-car input))) (let ((token (stream-car input)))
(if (eq? (car token) 'snarf_cookie) (if (eq? (car token) 'snarf_cookie)
@ -74,10 +72,10 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
(loop (stream-cdr input))))))) (loop (stream-cdr input)))))))
(define (dispatch-top-cookie input cont) (define (dispatch-top-cookie input cont)
(when (stream-null? input) (when (stream-null? input)
(error 'syntax "premature end of file")) (error 'syntax "premature end of file"))
(let ((token (stream-car input))) (let ((token (stream-car input)))
(cond (cond
((eq? (car token) 'brace_open) ((eq? (car token) 'brace_open)
@ -90,10 +88,10 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
(define (consume-upto-cookie process input cont) (define (consume-upto-cookie process input cont)
(let loop ((acc '()) (input input)) (let loop ((acc '()) (input input))
(when (stream-null? input) (when (stream-null? input)
(error 'syntax "premature end of file in directive context")) (error 'syntax "premature end of file in directive context"))
(let ((token (stream-car input))) (let ((token (stream-car input)))
(cond (cond
((eq? (car token) 'snarf_cookie) ((eq? (car token) 'snarf_cookie)
@ -109,13 +107,13 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
(when (stream-null? input) (when (stream-null? input)
(error 'syntax "premature end of file in multiline context")) (error 'syntax "premature end of file in multiline context"))
(let ((token (stream-car input))) (let ((token (stream-car input)))
(cond (cond
((eq? (car token) 'brace_close) ((eq? (car token) 'brace_close)
(end-multiline) (end-multiline)
(cont (stream-cdr input))) (cont (stream-cdr input)))
(else (consume-upto-cookie process-multiline-directive (else (consume-upto-cookie process-multiline-directive
input input
loop)))))) loop))))))
@ -136,7 +134,7 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
(set! *args* #f) (set! *args* #f)
(set! *sig* #f) (set! *sig* #f)
(set! *docstring* #f)) (set! *docstring* #f))
(define (end-multiline) (define (end-multiline)
(let* ((req (car *sig*)) (let* ((req (car *sig*))
(opt (cadr *sig*)) (opt (cadr *sig*))
@ -196,13 +194,13 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
(define do-args (define do-args
(match-lambda (match-lambda
(('(paren_close . paren_close)) (('(paren_close . paren_close))
'()) '())
(('(comma . comma) rest ...) (('(comma . comma) rest ...)
(do-args rest)) (do-args rest))
(('(id . SCM) ('id . name) rest ...) (('(id . SCM) ('id . name) rest ...)
(cons name (do-args rest))) (cons name (do-args rest)))
@ -210,21 +208,21 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
(define do-arglist (define do-arglist
(match-lambda (match-lambda
(('(paren_open . paren_open) '(id . void) '(paren_close . paren_close)) (('(paren_open . paren_open) '(id . void) '(paren_close . paren_close))
'()) '())
(('(paren_open . paren_open) rest ...) (('(paren_open . paren_open) rest ...)
(do-args rest)) (do-args rest))
(x (error (format #f "invalid arglist syntax: ~A" (map cdr x)))))) (x (error (format #f "invalid arglist syntax: ~A" (map cdr x))))))
(define do-command (define do-command
(match-lambda (match-lambda
(('fname ('string . name)) (('fname ('string . name))
(set! *function-name* (texi-quote name))) (set! *function-name* (texi-quote name)))
(('type ('id . type)) (('type ('id . type))
(set! *snarf-type* type)) (set! *snarf-type* type))
@ -245,19 +243,19 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
(define do-directive (define do-directive
(match-lambda (match-lambda
((('id . command) rest ...) ((('id . command) rest ...)
(do-command (cons command rest))) (do-command (cons command rest)))
((('string . string) ...) ((('string . string) ...)
(set! *docstring* string)) (set! *docstring* string))
(x (error (format #f "unknown doc attribute syntax: ~A" x))))) (x (error (format #f "unknown doc attribute syntax: ~A" x)))))
(do-directive l)) (do-directive l))
(define (process-singleline l) (define (process-singleline l)
(define do-argpos (define do-argpos
(match-lambda (match-lambda
((('id . name) ('int . pos) ('int . line)) ((('id . name) ('int . pos) ('int . line))
@ -267,13 +265,13 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
(display (format #f "~A:~A: wrong position for argument ~A: ~A (should be ~A)\n" (display (format #f "~A:~A: wrong position for argument ~A: ~A (should be ~A)\n"
*file* line name pos (+ idx 1))))))) *file* line name pos (+ idx 1)))))))
(x #f))) (x #f)))
(define do-command (define do-command
(match-lambda (match-lambda
(('(id . argpos) rest ...) (('(id . argpos) rest ...)
(do-argpos rest)) (do-argpos rest))
(x (error (format #f "unknown check: ~A" x))))) (x (error (format #f "unknown check: ~A" x)))))
(when *function-name* (when *function-name*
(do-command l))) (do-command l)))

View file

@ -22,8 +22,6 @@ exec ${GUILE-guile} -c "(apply $main (cdr (command-line)))" "$@"
;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330, ;; the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
;; Boston, MA 02111-1307 USA ;; Boston, MA 02111-1307 USA
;;; Author: Thien-Thi Nguyen based on PERL script by Keisuke Nishida
;;; Commentary: ;;; Commentary:
;; Usage: use2dot [OPTIONS] [FILE ...] ;; Usage: use2dot [OPTIONS] [FILE ...]