annotate msdos/sed1.inp @ 9976:2869e501c2de

* etags.c [ETAGS_REGEXP]: All the new code that deals with regexps is compiled if this is defined. The new functions and variables added #ifdef ETAGS_REGEXP are not listed in this ChangeLog. [VMS]: All VMS specific code previously contained in etags-vmslib.c is now included here, modified for dealing with language and regex options intermixed with filenames. (header_file): Global variable deleted. (Lang_Function): New typedef. All language parser functions changed to this new type. (string_numeric_p, substr, prestr): Functions deleted. (readline_internal): Does the job that readline did previously. (longopts): --language and --regex options added. (lang_names, lang_extensions, lang_func, print_language_names): New structures, variables and functions for choosing languages. (print_help): Help strings updated. Calls print_language_names. (argument_type, ARGUMENT): Typedefs for dealing with language and regex options intermixed with filenames. (main): Changed the way of dealing with arguments on the command line to deal with language and regex options intermixed with filenames. (get_language, default_C_entries, Cplusplus_entries, Cstar_entries, Yacc_entries, just_read_file): New functions. (find_entries): Use the new method for choosing the language. (Pascal_functions): Allow intermixing of comment styles. (prolog_getit, skip_comment): Rewritten for speed. (readline): Rewritten to deal with regexps.
author Francesco Potortì <pot@gnu.org>
date Wed, 16 Nov 1994 13:00:49 +0000
parents b36d5e88cccc
children 5acbce95c5fa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7202
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
1 # -sed1.inp-------------------------------------------------------------
7229
520d3d20651f Don't comment out the inc-vers run as that does not exist anymore.
Richard M. Stallman <rms@gnu.org>
parents: 7202
diff changeset
2 # Configuration script for src/makefile
7202
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
3 # ----------------------------------------------------------------------
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
4 s/^#.*//
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
5 s/^[ \f\t][ \f\t]*$//
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
6 s/^ / /
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
7 s/\.h\.in/.h-in/
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
8 s!^ \./temacs! go32 temacs!
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
9 s!/bin/sh!command.com!
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
10 /^MAKE *=/s/^/# /
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
11 /^SHELL *=/s/^/# /
7513
4010eca772d4 Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents: 7229
diff changeset
12 /^srcdir *=/s/@[^@\n]*@/./
4010eca772d4 Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents: 7229
diff changeset
13 /^VPATH *=/s/@[^@\n]*@/./
4010eca772d4 Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents: 7229
diff changeset
14 /^CC *=/s/@[^@\n]*@/gcc/
4010eca772d4 Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents: 7229
diff changeset
15 /^CPP *=/s/@[^@\n]*@/gcc -e/
4010eca772d4 Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents: 7229
diff changeset
16 /^CFLAGS *=/s/@[^@\n]*@/-O2 -g/
4010eca772d4 Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents: 7229
diff changeset
17 /^LN_S *=/s/@[^@\n]*@/ln -s/
8197
d6a441681fb4 Use "m/intel386" instead of "m/dos386.h".
Richard M. Stallman <rms@gnu.org>
parents: 7623
diff changeset
18 /^M_FILE *=/s!@[^@\n]*@!m/intel386.h!
7513
4010eca772d4 Don't use `+' in regexps as different stream
Richard M. Stallman <rms@gnu.org>
parents: 7229
diff changeset
19 /^S_FILE *=/s!@[^@\n]*@!s/msdos.h!
7202
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
20 /^@SET_MAKE@$/s/@SET_MAKE@//
9572
b36d5e88cccc *** empty log message ***
Morten Welinder <terra@diku.dk>
parents: 8197
diff changeset
21 /^.\${libsrc}make-docfile.*>/s!make-docfile!make-docfile -o ../etc/DOC!
7202
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
22 /^.\${libsrc}make-doc/s!>.*$!!
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
23 /^.\${libsrc}make-docfile/s/\$/go32 $/
9f8b6ebe1d7e Set CFLAGS=-O2, not -g. Handle the new
Richard M. Stallman <rms@gnu.org>
parents: 5485
diff changeset
24 /^[ ]*$/d
9572
b36d5e88cccc *** empty log message ***
Morten Welinder <terra@diku.dk>
parents: 8197
diff changeset
25 /^temacs:/s/prefix-args//
b36d5e88cccc *** empty log message ***
Morten Welinder <terra@diku.dk>
parents: 8197
diff changeset
26 /^ #/d