comparison utils.c @ 16:9dda765ee85c

expression evaluator
author David A. Holland
date Mon, 20 Dec 2010 00:32:20 -0500
parents bfa97d43197e
children c08a947d8f30
comparison
equal deleted inserted replaced
15:f6177d3ed5c2 16:9dda765ee85c
30 #include <stdlib.h> 30 #include <stdlib.h>
31 #include <string.h> 31 #include <string.h>
32 #include <err.h> 32 #include <err.h>
33 33
34 #include "utils.h" 34 #include "utils.h"
35
36 const char ws[] =
37 " \t\f\v"
38 ;
39 const char alnum[] =
40 "0123456789"
41 "abcdefghijklmnopqrstuvwxyz"
42 "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
43 "_"
44 ;
35 45
36 void * 46 void *
37 domalloc(size_t len) 47 domalloc(size_t len)
38 { 48 {
39 void *ret; 49 void *ret;