projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed INDEX operator to handle multiple subscript arrays correctly
[unix-history]
/
usr
/
src
/
usr.bin
/
ex
/
ex_data.c
diff --git
a/usr/src/usr.bin/ex/ex_data.c
b/usr/src/usr.bin/ex/ex_data.c
index
355feda
..
efe0f93
100644
(file)
--- a/
usr/src/usr.bin/ex/ex_data.c
+++ b/
usr/src/usr.bin/ex/ex_data.c
@@
-1,5
+1,5
@@
-/* Copyright (c) 198
0
Regents of the University of California */
-static char *sccsid = "@(#)ex_data.c
6.1
%G%";
+/* Copyright (c) 198
1
Regents of the University of California */
+static char *sccsid = "@(#)ex_data.c
7.1
%G%";
#include "ex.h"
#include "ex_tty.h"
#include "ex.h"
#include "ex_tty.h"
@@
-12,15
+12,17
@@
static char *sccsid = "@(#)ex_data.c 6.1 %G%";
* to confuse xstr so it will leave them alone.
*/
char direct[ONMSZ] =
* to confuse xstr so it will leave them alone.
*/
char direct[ONMSZ] =
- {
'/', 't', 'm', 'p' };
+ {
'/', 't', 'm', 'p'};
char paragraphs[ONMSZ] = {
'I', 'P', 'L', 'P', 'P', 'P', 'Q', 'P', /* -ms macros */
'P', ' ', 'L', 'I', /* -mm macros */
char paragraphs[ONMSZ] = {
'I', 'P', 'L', 'P', 'P', 'P', 'Q', 'P', /* -ms macros */
'P', ' ', 'L', 'I', /* -mm macros */
+ 'p', 'p', 'l', 'p', 'i', 'p', /* -me macros */
'b', 'p' /* bare nroff */
};
char sections[ONMSZ] = {
'N', 'H', 'S', 'H', /* -ms macros */
'b', 'p' /* bare nroff */
};
char sections[ONMSZ] = {
'N', 'H', 'S', 'H', /* -ms macros */
- 'H', ' ', 'H', 'U' /* -mm macros */
+ 'H', ' ', 'H', 'U', /* -mm macros */
+ 'n', 'h', 's', 'h' /* -me macros */
};
char shell[ONMSZ] =
{ '/', 'b', 'i', 'n', '/', 's', 'h' };
};
char shell[ONMSZ] =
{ '/', 'b', 'i', 'n', '/', 's', 'h' };