Changeset 74 for lang/elisp/pdicv-mode/trunk/pdicv-core.el
- Timestamp:
- 01/31/09 00:20:29 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/elisp/pdicv-mode/trunk/pdicv-core.el
r71 r74 215 215 216 216 (32bit-address-mode (if (= (-> header 'index-blkbit) 32) t nil)) 217 (tab-sep-p ( if (eq 'unicode-bocu-6 (-> header 'version)) t nil))217 (tab-sep-p (eq 'unicode-bocu-6 (-> header 'version))) 218 218 219 219 (ix 0) (ix-max (-> header 'nindex)) … … 297 297 (let* ((result ()) ;(match-count 0) 298 298 (header (pdicv-get-header-info filename)) 299 (tab-sep-p (eq 'unicode-bocu-6 (-> header 'version))) 299 300 (block-size (-> header 'block-size)) 300 301 (offset (+ (-> header 'datablock-begins-at) (* phys block-size))) … … 340 341 (concat (substring eword 0 compress-length) eword-compressed) )) 341 342 (setq q (1+ eword-len)) 342 343 ;; �����В�������� 343 344 (when (not aligned) 344 345 (setq eword-attrib (nt:read-uchar rest q)) … … 384 385 ) ; if extended 385 386 386 ; (insert (format "- %s\n" eword)) 387 (when (funcall criteria-func eword pron jword example) 388 (push (list eword pron jword example) result)) 387 (if tab-sep-p 388 (let* ((splitted (split-string eword "\t")) 389 (eword (car splitted)) 390 (entry (cadr splitted))) 391 (when (funcall criteria-func entry eword pron jword example) 392 (push (list entry pron jword example) result))) 393 (when (funcall criteria-func eword eword pron jword example) 394 (push (list eword pron jword example) result))) 395 ;;(when (funcall criteria-func eword pron jword example) 396 ;; (push (list eword pron jword example) result)) 389 397 );let 390 398 ); wend