Show
Ignore:
Timestamp:
07/21/08 23:51:24 (6 months ago)
Author:
karpet
Message:

change top-level tokenizer functions to use same signature so that we can more easily
swap between them. Change tests to use new iterator style by default (-t option to swish_lint).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • libswish3/trunk/src/swish_tokenize.c

    r2140 r2148  
    114114    for (; i < argc; i++) { 
    115115        ntokens = 
    116             swish_tokenize3(s3, list, (xmlChar *)argv[i], 
     116            swish_tokenize3(s3, (xmlChar *)argv[i], list,  
    117117                            swish_hash_fetch(s3->config->metanames, meta), meta); 
    118118        printf("parsed %d tokens: %s\n", ntokens, argv[i]); 
     
    122122    if (string != NULL) { 
    123123        ntokens = 
    124             swish_tokenize3(s3, list, string, 
     124            swish_tokenize3(s3, string, list,  
    125125                            swish_hash_fetch(s3->config->metanames, meta), meta); 
    126126        swish_debug_token_list(iterator);