MarcWeber / hasktags

Produces ctags "tags" and etags "TAGS" files for Haskell programs
Other
127 stars 32 forks source link

A better fix for issue #53 #62

Closed lyokha closed 5 years ago

lyokha commented 5 years ago
  1. Skip all top-level non-operator areas enclosed in parentheses.
  2. Using safe tail' in extractOperator. With simple tail, hasktags -x . on http-types sources (this was in example from the issue) fails with hasktags: Prelude.tail: empty list: the reason of this is that closing ) cannot be found in some cases.