comparison c/regexParser/word.c @ 117:166136236891 pairPro

add header files
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Wed, 25 Nov 2015 14:58:03 +0900
parents ca30f8334741
children
comparison
equal deleted inserted replaced
116:66c633575b53 117:166136236891
1 #include <ctype.h> 1 #include <ctype.h>
2 #include <string.h> 2 #include <string.h>
3 #include <stdio.h> 3 #include <stdio.h>
4 #include <stdlib.h> 4 #include <stdlib.h>
5 #include "word.h"
5 6
6 unsigned char* getWord(unsigned char *string) { 7 unsigned char* getWord(unsigned char *string) {
7 int wordSize = 0; 8 int wordSize = 0;
8 while (isalnum(string[wordSize])) { 9 while (isalnum(string[wordSize])) {
9 wordSize++; 10 wordSize++;