add missing token in scripted tab completion

This commit is contained in:
Mark Harrah 2012-05-30 07:13:15 -04:00
parent 2f65945745
commit a8a028ad70
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ object Sbt extends Build
val id = charClass(c => !c.isWhitespace && c != '/').+.string
val groupP = token(id.examples(pairMap.keySet.toSet)) <~ token('/')
def nameP(group: String) = "*".id | id.examples(pairMap(group))
def nameP(group: String) = token("*".id | id.examples(pairMap(group)))
val testID = for( group <- groupP; name <- nameP(group) ) yield (group, name)
(token(Space) ~> matched(testID)).*
}