On Sat, 09 Sep 2006 10:15:44 +1000
"Neil Hodgson" <[EMAIL PROTECTED]> wrote:

> Rick Sivernell:
> 
> > In building an api file from a tags file, I get the following:
> >
> > [EMAIL PROTECTED] scripts]# python tags2api.py tags >x.api
> > Traceback (most recent call last):
> >   File "tags2api.py", line 78, in ?
> >     curLineNo = string.atoi(lineNo[:-2]) - 1    # -1 because line numbers 
> > in tags
> > file start at 1. File "/usr/lib64/python2.4/string.py", line 403, in atoi
> >     return _int(s, base)
> > ValueError: invalid literal for int(): /^        ADT =
> > GMT_3,                        \/\/ Atlantic Daylight Time$/ [EMAIL 
> > PROTECTED]
> > scripts]#
> 
>    I think you are running ctags in "produce a pattern" mode rather
> than "produce a line number" mode. The ctags command line recommended
> in tags2api.py is
> ctags --excmd=number --c-types=pcdgstu <header files>
> 
>    Neil
thank you

-- 
Rick Sivernell
Dallas, Texas  75287
972 306-2296
[EMAIL PROTECTED]
Registered Linux User

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to