pike.git / bin / pike_etags.sh

version» Context lines:

pike.git/bin/pike_etags.sh:1:   #!/bin/sh   # - # $Id: pike_etags.sh,v 1.1 2003/01/31 22:04:13 grubba Exp $ + # $Id$   #   # Run etags with regexps suitable for Pike files.   #   exec etags -l none \    -r '/[ \t]*\(\<\(public\|inline\|final\|static\|protected\|local\|optional\|private\|nomask\|variant\)\>[ \t]\{1,\}\)*\(\<class\>\)[ \t]\{1,\}\<\([a-zA-Z¡-ÿ_][a-zA-Z¡-ÿ_0-9]*\)\>/\4/' \    -r '/[ \t]*\(\<\(mixed\|float\|int\|program\|string\|function\|function(.*)\|array\|array(.*)\|mapping\|mapping(.*)\|multiset\|multiset(.*)\|object\|object(.*)\|void\|constant\|class\)\>)*\|\<\([A-ZÀ-ÖØ-ß][a-zA-Z¡-ÿ_0-9]*\)\>\)[ \t]\{1,\}\(\<\([_a-zA-Z¡-ÿ][_a-zA-Z¡-ÿ0-9]*\)\>\|``?\(!=\|->=?\|<[<=]\|==\|>[=>]\|\[\]=?\|()\|[%-!^&+*<>|~\/]\)\)[ \t]*(/\4/' \    -r '/#[ \t]*define[ \t]+\([_a-zA-Z]+\)(?/\1/' "$@"