| 93 | static char re_syntax_table[CHAR_SET_SIZE]; |
| 94 | |
| 95 | static void |
| 96 | init_syntax_once () |
| 97 | { |
| 98 | register int c; |
| 99 | static int done = 0; |
| 100 | |
| 101 | if (done) |
| 102 | return; |
| 103 | |
| 104 | bzero (re_syntax_table, sizeof re_syntax_table); |
| 105 | |
| 106 | for (c = 'a'; c <= 'z'; c++) |
| 107 | re_syntax_table[c] = Sword; |
| 108 | |
| 109 | for (c = 'A'; c <= 'Z'; c++) |
| 110 | re_syntax_table[c] = Sword; |
| 111 | |
| 112 | for (c = '0'; c <= '9'; c++) |
| 113 | re_syntax_table[c] = Sword; |
| 114 | |
| 115 | re_syntax_table['_'] = Sword; |
| 116 | |
| 117 | done = 1; |
| 118 | } |
| 119 | |
| 120 | #endif /* not SYNTAX_TABLE */ |
| 121 |