File: mltags

package info (click to toggle)
sml-mode 6.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 504 kB
  • sloc: lisp: 3,887; makefile: 7; sh: 5
file content (8 lines) | stat: -rwxr-xr-x 259 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
#!/bin/sh
exec etags \
  --language=none \
  --regex='/[ \t]*\(exception\|datatype\|type\|val\|and\|fun\|structure\|signature\|functor\) \([A-Za-z_0-9]+\)/\2/' \
  --regex='/[ \t]*[=|] \([A-Z_]+\)/\1/' \
  $*

#  --regex='/[ \t]*val [^:]+:[ \t]*\(.*\)/\1/' \