JavaScript parser: don't set token position information again and again
commitbe45924f7c04fcc0f511168b9fdb1c8a2d940a5c
authorColomban Wendling <ban@herbesfolles.org>
Sat, 22 Sep 2012 16:13:07 +0000 (22 18:13 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Sat, 22 Sep 2012 16:13:07 +0000 (22 18:13 +0200)
tree5dad4af1936a8d815cf2ddb4516c429077e69027
parent772509e898a6847117e28156859483993376118e
JavaScript parser: don't set token position information again and again

There is no need to set the token position information in the loop
searching for the initial token character, simply do that when we
finally found the token start.
tagmanager/ctags/js.c