Re: Ambiguous documentation

new topic     » goto parent     » topic index » view thread      » older message » newer message

If you look at tokenize_string() at line 1154 in https://github.com/OpenEuphoria/euphoria/blob/master/include/euphoria/tokenize.e ,
it returns { tokens, ERR, ERR_LNUM, ERR_LPOS }. So that comment just means you should not pass the whole result from that, but res[1].

Perhaps a better way to word that might be:
Note that tokenize_string() and tokenize_file() return { tokens, ERR, ERR_LNUM, ERR_LPOS } and this routine only wants the res[1] from that.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu