Changeset 15936 for lang/gauche

Show
Ignore:
Timestamp:
07/17/08 20:54:29 (4 months ago)
Author:
kiyoka
Message:

Fix some bugs.

Location:
lang/gauche/oldtype/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/gauche/oldtype/trunk/bin/convert.sh

    r15285 r15936  
    4949  echo ${base} | grep "!" > /dev/null 
    5050  generated=$? 
    51   if [ "0" = $generated ] ; then 
     51  if [ "0" = "$generated" ] ; then 
    5252    diffs=`_svn t diff ${base}.ot | wc -l | awk '{ print $1; }'` 
    5353#    echo diffs : ${diffs} 
    5454    [ "0" != "${diffs}" -o ! -f ../_out/${base}.sexp ] 
    5555    status=$? 
     56 
     57    ## TODO: fix me ( Must implement !xxxxx.ot contents converttion check ) 
     58    status=0 
     59 
    5660#    echo status : ${status} 
    5761  else  
  • lang/gauche/oldtype/trunk/command/blog

    r15232 r15936  
    22 
    33(use srfi-1) 
     4(use util.list) 
    45(use oldtype.util) 
    56 
     
    3637                 (display  
    3738                  (string-append "* [[" (oldtype:otpath->wikiname filename) "]]")))) 
    38              (for-each print (port->string-list (current-input-port)))))) 
     39             (for-each 
     40              (lambda (line) 
     41                (if (#/##\(comment\)/ line) 
     42                    (print (string-append "comment please => [[" (oldtype:otpath->wikiname filename) "]]")) 
     43                    (print line))) 
     44              (port->string-list (current-input-port)))))) 
    3945       entrylist) 
    4046      (display appendix) 
     
    6066               (cons 
    6167                ot-blog-header 
    62                 (take (ot-blog-entrylist) ot-new-entry-limit)) 
     68                (take* (ot-blog-entrylist) ot-new-entry-limit)) 
    6369               "") 
    6470  (output-blog-list (string-append ot-blog ".list.ot")