Rev 8185 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8185 | Rev 8195 | ||
---|---|---|---|
Line 14... | Line 14... | ||
14 | * along with this program; if not, write to the Free Software |
14 | * along with this program; if not, write to the Free Software |
15 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
15 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
16 | */ |
16 | */ |
17 | 17 | ||
18 | #include "mathexp.h" |
18 | #include "mathexp.h" |
19 | - | ||
20 | void error(char *msg) |
- | |
21 | { |
- | |
22 | fprintf(stderr,"%s\n",msg); |
- | |
23 | printf("ERROR\n"); |
- | |
24 | exit(1); |
- | |
25 | } |
- | |
26 | 19 | ||
27 | void strcompress(char *src, char *dest) |
20 | void strcompress(char *src, char *dest) |
28 | { |
21 | { |
29 | char *p1, *p2; |
22 | char *p1, *p2; |
30 | char lastnospc, lastspc; |
23 | char lastnospc, lastspc; |