1%{ 2#include <string.h> 3#include "regenc.h" 4%} 5 6struct PropertyNameCtype { 7 char *name; 8 int ctype; 9}; 10 11%% 12Alpha, 1 13Blank, 2 14Cntrl, 3 15Digit, 4 16Graph, 5 17Lower, 6 18Print, 7 19Punct, 8 20Space, 9 21Upper, 10 22XDigit, 11 23Word, 12 24Alnum, 13 25ASCII, 14 26Hiragana, 15 27Katakana, 16 28