+++ /dev/null
-#include <stdio.h>\r
-#include "rexpr.h"\r
-\r
-/*\r
- * test for rexpr().\r
- * To make this test:\r
- * cc -o rexpr test.c rexpr.c\r
- * Then from command line type:\r
- * rexpr r string\r
- * where r is the regular expression that decribes a language\r
- * and string is the string to verify.\r
- */\r
-main(argc,argv)\r
-int argc;\r
-char *argv[];\r
-{\r
- if ( argc!=3 ) fprintf(stderr,"rexpr: expr s\n");\r
- else printf("%d\n", rexpr(argv[1], argv[2]));\r
-}\r