comparison c/regexParser/regexParser.cc @ 129:b930be74a16e pairPro

remove word.h
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Tue, 01 Dec 2015 23:05:53 +0900
parents f827682d4687
children 7925e9abb078
comparison
equal deleted inserted replaced
128:f827682d4687 129:b930be74a16e
20 * stateTransitionTable 20 * stateTransitionTable
21 */ 21 */
22 22
23 static 23 static
24 NodePtr allocateNode() { 24 NodePtr allocateNode() {
25 NodePtr n = (NodePtr)malloc(sizeof(node)); 25 NodePtr n = NEW(Node);
26 n->cc = NULL; 26 n->cc = NULL;
27 n->left = NULL; 27 n->left = NULL;
28 n->right = NULL; 28 n->right = NULL;
29 return n; 29 return n;
30 } 30 }