javascript: Cleanup `findCmdTerm()` callers a bit
commite01ae923a15a01245dbe52d5023f9a8db5d17758
authorColomban Wendling <ban@herbesfolles.org>
Thu, 20 Nov 2014 14:30:28 +0000 (20 15:30 +0100)
committerColomban Wendling <ban@herbesfolles.org>
Mon, 24 Nov 2014 01:43:44 +0000 (24 02:43 +0100)
treeb8ceef26b9ef37f25f5c9743f3d572306397c10d
parent7e6215661e64475a891921848149bd12a57c8a65
javascript: Cleanup `findCmdTerm()` callers a bit

Move the check for unterminated inside `findCmdTerm()` itself and
return it rather than having each caller do it itself.
tagmanager/ctags/js.c