Diff for libcfg+/src/parse.c between version 1.15 and 1.16
| version 1.15, 2002/04/21 10:08:40 |
version 1.16, 2002/05/11 14:54:58 |
| Line 84 cfg_get_cur_idx(con) |
|
| Line 84 cfg_get_cur_idx(con) |
|
| { |
{ |
| return con->type == CFG_CMDLINE |
return con->type == CFG_CMDLINE |
| ? con->cur_idx |
? con->cur_idx |
| : (con->flags & CFG_FILE_LINE_USAGE |
: (con->flags & CFG_FILE_LINE_POS_USAGE |
| ? con->cur_idx |
? con->cur_idx |
| : (con->fhandle != NULL ? (int) ftell(con->fhandle) : 0)); |
: (con->fhandle != NULL ? (int) ftell(con->fhandle) : 0)); |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|