(scan-api): Fix bug: No longer omit `C' and `Scheme' in
authorThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 11 May 2002 19:45:27 +0000 (19:45 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Sat, 11 May 2002 19:45:27 +0000 (19:45 +0000)
groups in the presence of the grouper.

scripts/scan-api

index c527505..7e26acd 100755 (executable)
@@ -204,10 +204,11 @@ exec ${GUILE-guile} -l $0 -c "(apply $main (cdr (command-line)))" "$@"
                 i))
       (format #t "  (sofile . ~S)\n" sofile)
       (format #t "  ~A\n"
-              (cons 'groups (if grouper
-                                (map (lambda (p) (get p 'name))
-                                     (hook->list grouper))
-                                '(Scheme C))))
+              (cons 'groups (append (if grouper
+                                        (map (lambda (p) (get p 'name))
+                                             (hook->list grouper))
+                                        '())
+                                    '(Scheme C))))
       (format #t ") ;; end of meta\n")
       (format #t "(interface\n")
       (for-each (lambda (x)