version 1.4, 2001/07/12 05:17:29 |
version 1.5, 2001/11/19 19:02:17 |
|
|
putScp(os) |
putScp(os) |
char *os; |
char *os; |
{ |
{ |
register char *s = os; /* pointer to unmatched string */ |
char *s = os; /* pointer to unmatched string */ |
char dummy[BUFSIZ]; /* dummy to be used by expmatch */ |
char dummy[BUFSIZ]; /* dummy to be used by expmatch */ |
char *comptr; /* end of a comment delimiter */ |
char *comptr; /* end of a comment delimiter */ |
char *acmptr; /* end of a comment delimiter */ |
char *acmptr; /* end of a comment delimiter */ |
|
|
|
|
static int |
static int |
width(s, os) |
width(s, os) |
register char *s, *os; |
char *s, *os; |
{ |
{ |
register int i = 0; |
int i = 0; |
|
|
while (s < os) { |
while (s < os) { |
if (*s == '\t') { |
if (*s == '\t') { |
|
|
|
|
static void |
static void |
putcp(c) |
putcp(c) |
register int c; |
int c; |
{ |
{ |
|
|
switch(c) { |
switch(c) { |
|
|
|
|
static int |
static int |
iskw(s) |
iskw(s) |
register char *s; |
char *s; |
{ |
{ |
register char **ss = l_keywds; |
char **ss = l_keywds; |
register int i = 1; |
int i = 1; |
register char *cp = s; |
char *cp = s; |
|
|
while (++cp, isidchr(*cp)) |
while (++cp, isidchr(*cp)) |
i++; |
i++; |