Rev 8148 | Rev 8896 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8148 | Rev 8195 | ||
---|---|---|---|
Line 16... | Line 16... | ||
16 | */ |
16 | */ |
17 | /* line input / output / translation routines |
17 | /* line input / output / translation routines |
18 | * and error routines |
18 | * and error routines |
19 | */ |
19 | */ |
20 | 20 | ||
21 |
|
21 | /*#include <stdarg.h>*/ |
22 | #include "../Lib/libwims.h" |
22 | #include "../Lib/libwims.h" |
23 | #include "msg2wims.h" |
23 | #include "msg2wims.h" |
24 | 24 | ||
25 | void |
25 | void msg_error(char *p) |
26 | { |
26 | { |
27 | fprintf(stderr,"%s\n",p); |
27 | fprintf(stderr,"%s\n",p); |
28 | } |
28 | } |
29 | 29 | ||
30 | void bailout(int i1, int i2, char *msg) |
30 | void bailout(int i1, int i2, char *msg) |
31 | { |
31 | { |
32 | if(*msg) |
32 | if(*msg) msg_error(msg); |
33 | printf("%d %d",i1,i2); exit(0); |
33 | printf("%d %d",i1,i2); exit(0); |
34 | } |
34 | } |
35 | 35 | ||
36 | /* find html tag end */ |
36 | /* find html tag end */ |
37 | char *find_tag_end(char *p) |
37 | char *find_tag_end(char *p) |