Add some basic opcode

This commit is contained in:
c9s 2014-05-23 11:18:15 +08:00
parent 59e6997959
commit a41c9187ac
2 changed files with 3 additions and 0 deletions

View file

@ -174,4 +174,6 @@ route * r3_tree_match_route(const node *n, match_entry * entry);
#define METHOD_HEAD 2<<5
#define METHOD_OPTIONS 2<<6
enum { OP_EXPECT_DIGITS, OP_EXPECT_WORDS, OP_EXPECT_NOSLASH };
#endif /* !R3_NODE_H */

View file

@ -13,6 +13,7 @@
#include "str_array.h"
#include "zmalloc.h"
/**
* provide a quick way to count slugs, simply search for '{'
*/