Mercurial > ~dholland > hg > tradcpp > index.cgi
diff utils.c @ 16:9dda765ee85c
expression evaluator
author | David A. Holland |
---|---|
date | Mon, 20 Dec 2010 00:32:20 -0500 |
parents | bfa97d43197e |
children | c08a947d8f30 |
line wrap: on
line diff
--- a/utils.c Sun Dec 19 21:42:01 2010 -0500 +++ b/utils.c Mon Dec 20 00:32:20 2010 -0500 @@ -33,6 +33,16 @@ #include "utils.h" +const char ws[] = + " \t\f\v" +; +const char alnum[] = + "0123456789" + "abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "_" +; + void * domalloc(size_t len) {