Admin/maketags
author oheimb
Wed, 06 Dec 2000 19:09:34 +0100
changeset 10612 779af7c58743
parent 9049 8a3101b62c4f
child 12721 226fc0e2e7e3
permissions -rwxr-xr-x
improved superclass entry for classes and definition status of is_class, class corrected recursive definitions of "method" and "fields" Beware: some proofs are incomplete (sorry, oops), preliminary comments with DvO:

#!/bin/bash
#
# $Id$

find . \( -name \*.ML -o -name \*.sml -o -name \*.sig \) -print | \
  etags \
    --language=none \
    --regex='/[ \t]*structure +\([A-Za-z_0-9]+\)/\1/' \
    --regex='/[ \t]*functor +\([A-Za-z_0-9]+\)/\1/' \
    --regex='/[ \t]*signature +\([A-Za-z_0-9]+\)/\1/' \
    --regex='/[ \t]*fun +\([A-Za-z_0-9]+\)/\1/' \
    --regex='/[ \t]*val +\([A-Za-z_0-9]+\)/\1/' \
    --regex='/[ \t]*and +\([A-Za-z_0-9]+\)/\1/' \
    --regex='/[ \t]*exception +\([A-Za-z_0-9]+\)/\1/' \
    --regex='/[ \t]*type +\([A-Za-z_0-9]+\)/\1/' \
    --regex='/[ \t]*datatype +\([A-Za-z_0-9]+\)/\1/' \
    --regex='/[ \t]*= +\([A-Z_]+\)/\1/' \
    --regex='/[ \t]*| +\([A-Z_]+\)/\1/' \
    -

find . -type f -print | \
  fgrep -v .ML | \
  fgrep -v .sml | \
  fgrep -v .sig | \
  fgrep -v TAGS | \
  etags --language=none --append -