Return to basic.c CVS log | Up to [local] / src / usr.bin / mg |
version 1.37, 2012/06/18 09:26:03 | version 1.38, 2012/10/12 21:13:46 | ||
---|---|---|---|
|
|
||
int | int | ||
gotoline(int f, int n) | gotoline(int f, int n) | ||
{ | { | ||
struct line *clp; | |||
char buf[32], *bufp; | char buf[32], *bufp; | ||
const char *err; | const char *err; | ||
|
|
||
return (FALSE); | return (FALSE); | ||
} | } | ||
} | } | ||
return(setlineno(n)); | |||
} | |||
/* | |||
* Set the line number and switch to it. | |||
*/ | |||
int | |||
setlineno(int n) | |||
{ | |||
struct line *clp; | |||
if (n >= 0) { | if (n >= 0) { | ||
if (n == 0) | if (n == 0) | ||
n++; | n++; |