Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / zotnet / tws / RCS / lexedit.sed,v
1 head    1.6;
2 access;
3 symbols;
4 locks; strict;
5
6
7 1.6
8 date    93.10.25.19.35.03;      author jromine; state Exp;
9 branches;
10 next    1.5;
11
12 1.5
13 date    92.11.11.20.57.33;      author jromine; state Exp;
14 branches;
15 next    1.4;
16
17 1.4
18 date    92.11.02.18.56.04;      author jromine; state Exp;
19 branches;
20 next    1.3;
21
22 1.3
23 date    92.02.04.01.00.20;      author jromine; state Exp;
24 branches;
25 next    1.2;
26
27 1.2
28 date    90.02.05.14.18.27;      author sources; state Exp;
29 branches;
30 next    1.1;
31
32 1.1
33 date    90.02.05.14.17.51;      author sources; state Exp;
34 branches;
35 next    ;
36
37
38 desc
39 @@
40
41
42 1.6
43 log
44 @allow LWSP a couple of places
45 @
46 text
47 @2,/^extern int yylineno;$/c\
48 static int start_cond = 0;\
49 #define BEGIN start_cond =
50 /^struct yysvf \*yyestate;$/,/^extern struct yysvf yysvec/d
51 /^# define YYNEWLINE /,/^[      ]*int nstr;/d
52 /^[     ]*while((nstr = yylook()/,/^[   ]*if(yywrap()) /d
53 /^case -1:$/,/^} return(0); }/c\
54         default: return(0);\
55 } }
56 /^struct yysvf *yybgin = yysvec+1;$/d
57 /^int yylineno /,$d
58 /^# define YYTYPE short/c\
59 # define YYTYPE int
60 /^unsigned char yymatch\[\] = {/c\
61 char yymatch[] = {
62 /^unsigned char yyextra\[\] = {/c\
63 char yyextra[] = {
64 /^# define YYTYPE unsigned short/c\
65 # define YYTYPE int
66 /^if (__once_yylex) {$/,/if(yymbcurmax<=0) yymbcurmax=MB_CUR_MAX;$/d
67 @
68
69
70 1.5
71 log
72 @fixups for aix
73 @
74 text
75 @d5 2
76 a6 2
77 /^# define YYNEWLINE /,/^int nstr;/d
78 /^while((nstr = yylook()/,/^if(yywrap()) /d
79 @
80
81
82 1.4
83 log
84 @fix for _AIX
85 @
86 text
87 @d18 2
88 @
89
90
91 1.3
92 log
93 @lex problem solved by Todd Kaehler <kaehler@@decvax.dec.com>
94 @
95 text
96 @d18 1
97 @
98
99
100 1.2
101 log
102 @*** empty log message ***
103 @
104 text
105 @d12 6
106 @
107
108
109 1.1
110 log
111 @Initial revision
112 @
113 text
114 @d7 3
115 a9 2
116 /^case -1:$/,/^fprintf(yyout,"bad switch yylook /c\
117         default: return(0);
118 @