Mercurial > hg > Applications > Grep
view c/regexParser/subsetConstraction.cc @ 139:6c258910cacb pairPro
remove some warning and error
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Dec 2015 02:20:13 +0900 |
parents | c292c67b3100 |
children | 71f36a59cf6a |
line wrap: on
line source
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include "subsetConstraction.h" TGValuePtr generateTransition(NodePtr n,TransitionGeneratorPtr tg) { TGValuePtr t = NULL; if (n->left != NULL) { t = generateTransition(n->left, tg); } if (n->tokenType == 'a') { } else if (n->tokenType == 'c') { t = generateTransition(n,tg); } else { } if (n->right != NULL) { t = generateTransition(n->right, tg); } return t; }