764 |
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 |
765 |
|
* USA |
766 |
|
*/ |
767 |
< |
#line 26 "config-lexer.l" |
767 |
> |
#line 27 "config-lexer.l" |
768 |
|
#include <stdio.h> |
769 |
|
#include <string.h> |
770 |
|
|
985 |
|
} |
986 |
|
|
987 |
|
{ |
988 |
< |
#line 45 "config-lexer.l" |
988 |
> |
#line 46 "config-lexer.l" |
989 |
|
|
990 |
|
|
991 |
|
#line 992 "config-lexer.c" |
1027 |
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
1028 |
|
++yy_cp; |
1029 |
|
} |
1030 |
< |
while ( yy_base[yy_current_state] != 732 ); |
1030 |
> |
while ( yy_current_state != 363 ); |
1031 |
> |
yy_cp = (yy_last_accepting_cpos); |
1032 |
> |
yy_current_state = (yy_last_accepting_state); |
1033 |
|
|
1034 |
|
yy_find_action: |
1035 |
|
yy_act = yy_accept[yy_current_state]; |
1034 |
– |
if ( yy_act == 0 ) |
1035 |
– |
{ /* have to back up */ |
1036 |
– |
yy_cp = (yy_last_accepting_cpos); |
1037 |
– |
yy_current_state = (yy_last_accepting_state); |
1038 |
– |
yy_act = yy_accept[yy_current_state]; |
1039 |
– |
} |
1036 |
|
|
1037 |
|
YY_DO_BEFORE_ACTION; |
1038 |
|
|
1049 |
|
|
1050 |
|
case 1: |
1051 |
|
YY_RULE_SETUP |
1052 |
< |
#line 47 "config-lexer.l" |
1052 |
> |
#line 48 "config-lexer.l" |
1053 |
|
{ ccomment(); } |
1054 |
|
YY_BREAK |
1055 |
|
case 2: |
1056 |
|
YY_RULE_SETUP |
1057 |
< |
#line 49 "config-lexer.l" |
1057 |
> |
#line 50 "config-lexer.l" |
1058 |
|
; |
1059 |
|
YY_BREAK |
1060 |
|
case 3: |
1061 |
|
/* rule 3 can match eol */ |
1062 |
|
YY_RULE_SETUP |
1063 |
< |
#line 51 "config-lexer.l" |
1063 |
> |
#line 52 "config-lexer.l" |
1064 |
|
{ |
1065 |
|
/* QSTRING from Hybrid7. Why re-invent the wheel? */ |
1066 |
|
|
1102 |
|
YY_BREAK |
1103 |
|
case 4: |
1104 |
|
YY_RULE_SETUP |
1105 |
< |
#line 90 "config-lexer.l" |
1105 |
> |
#line 91 "config-lexer.l" |
1106 |
|
{ return AWAY; } |
1107 |
|
YY_BREAK |
1108 |
|
case 5: |
1109 |
|
YY_RULE_SETUP |
1110 |
< |
#line 91 "config-lexer.l" |
1110 |
> |
#line 92 "config-lexer.l" |
1111 |
|
{ return BAN_UNKNOWN; } |
1112 |
|
YY_BREAK |
1113 |
|
case 6: |
1114 |
|
YY_RULE_SETUP |
1115 |
< |
#line 92 "config-lexer.l" |
1115 |
> |
#line 93 "config-lexer.l" |
1116 |
|
{ return BLACKLIST; } |
1117 |
|
YY_BREAK |
1118 |
|
case 7: |
1119 |
|
YY_RULE_SETUP |
1120 |
< |
#line 93 "config-lexer.l" |
1120 |
> |
#line 94 "config-lexer.l" |
1121 |
|
{ return CHANNEL; } |
1122 |
|
YY_BREAK |
1123 |
|
case 8: |
1124 |
|
YY_RULE_SETUP |
1125 |
< |
#line 94 "config-lexer.l" |
1125 |
> |
#line 95 "config-lexer.l" |
1126 |
|
{ return CONNREGEX; } |
1127 |
|
YY_BREAK |
1128 |
|
case 9: |
1129 |
|
YY_RULE_SETUP |
1130 |
< |
#line 95 "config-lexer.l" |
1130 |
> |
#line 96 "config-lexer.l" |
1131 |
|
{ return DNS_FDLIMIT; } |
1132 |
|
YY_BREAK |
1133 |
|
case 10: |
1134 |
|
YY_RULE_SETUP |
1135 |
< |
#line 96 "config-lexer.l" |
1135 |
> |
#line 97 "config-lexer.l" |
1136 |
|
{ return DNSBL_FROM; } |
1137 |
|
YY_BREAK |
1138 |
|
case 11: |
1139 |
|
YY_RULE_SETUP |
1140 |
< |
#line 97 "config-lexer.l" |
1140 |
> |
#line 98 "config-lexer.l" |
1141 |
|
{ return DNSBL_TO; } |
1142 |
|
YY_BREAK |
1143 |
|
case 12: |
1144 |
|
YY_RULE_SETUP |
1145 |
< |
#line 98 "config-lexer.l" |
1145 |
> |
#line 99 "config-lexer.l" |
1146 |
|
{ return EXEMPT; } |
1147 |
|
YY_BREAK |
1148 |
|
case 13: |
1149 |
|
YY_RULE_SETUP |
1150 |
< |
#line 99 "config-lexer.l" |
1150 |
> |
#line 100 "config-lexer.l" |
1151 |
|
{ return FD; } |
1152 |
|
YY_BREAK |
1153 |
|
case 14: |
1154 |
|
YY_RULE_SETUP |
1155 |
< |
#line 100 "config-lexer.l" |
1155 |
> |
#line 101 "config-lexer.l" |
1156 |
|
{ return INVITE; } |
1157 |
|
YY_BREAK |
1158 |
|
case 15: |
1159 |
|
YY_RULE_SETUP |
1160 |
< |
#line 101 "config-lexer.l" |
1160 |
> |
#line 102 "config-lexer.l" |
1161 |
|
{ return IRC; } |
1162 |
|
YY_BREAK |
1163 |
|
case 16: |
1164 |
|
YY_RULE_SETUP |
1165 |
< |
#line 102 "config-lexer.l" |
1165 |
> |
#line 103 "config-lexer.l" |
1166 |
|
{ return KLINE; } |
1167 |
|
YY_BREAK |
1168 |
|
case 17: |
1169 |
|
YY_RULE_SETUP |
1170 |
< |
#line 103 "config-lexer.l" |
1170 |
> |
#line 104 "config-lexer.l" |
1171 |
|
{ return KEY; } |
1172 |
|
YY_BREAK |
1173 |
|
case 18: |
1174 |
|
YY_RULE_SETUP |
1175 |
< |
#line 104 "config-lexer.l" |
1175 |
> |
#line 105 "config-lexer.l" |
1176 |
|
{ return MASK; } |
1177 |
|
YY_BREAK |
1178 |
|
case 19: |
1179 |
|
YY_RULE_SETUP |
1180 |
< |
#line 105 "config-lexer.l" |
1180 |
> |
#line 106 "config-lexer.l" |
1181 |
|
{ return MAX_READ; } |
1182 |
|
YY_BREAK |
1183 |
|
case 20: |
1184 |
|
YY_RULE_SETUP |
1185 |
< |
#line 106 "config-lexer.l" |
1185 |
> |
#line 107 "config-lexer.l" |
1186 |
|
{ return MODE; } |
1187 |
|
YY_BREAK |
1188 |
|
case 21: |
1189 |
|
YY_RULE_SETUP |
1190 |
< |
#line 107 "config-lexer.l" |
1190 |
> |
#line 108 "config-lexer.l" |
1191 |
|
{ return NAME; } |
1192 |
|
YY_BREAK |
1193 |
|
case 22: |
1194 |
|
YY_RULE_SETUP |
1195 |
< |
#line 108 "config-lexer.l" |
1195 |
> |
#line 109 "config-lexer.l" |
1196 |
|
{ return NEGCACHE; } |
1197 |
|
YY_BREAK |
1198 |
|
case 23: |
1199 |
|
YY_RULE_SETUP |
1200 |
< |
#line 109 "config-lexer.l" |
1200 |
> |
#line 110 "config-lexer.l" |
1201 |
|
{ return NEGCACHE_REBUILD; } |
1202 |
|
YY_BREAK |
1203 |
|
case 24: |
1204 |
|
YY_RULE_SETUP |
1205 |
< |
#line 110 "config-lexer.l" |
1205 |
> |
#line 111 "config-lexer.l" |
1206 |
|
{ return NICK; } |
1207 |
|
YY_BREAK |
1208 |
|
case 25: |
1209 |
|
YY_RULE_SETUP |
1210 |
< |
#line 111 "config-lexer.l" |
1210 |
> |
#line 112 "config-lexer.l" |
1211 |
|
{ return NICKSERV; } |
1212 |
|
YY_BREAK |
1213 |
|
case 26: |
1214 |
|
YY_RULE_SETUP |
1215 |
< |
#line 112 "config-lexer.l" |
1215 |
> |
#line 113 "config-lexer.l" |
1216 |
|
{ return NOTICE; } |
1217 |
|
YY_BREAK |
1218 |
|
case 27: |
1219 |
|
YY_RULE_SETUP |
1220 |
< |
#line 113 "config-lexer.l" |
1220 |
> |
#line 114 "config-lexer.l" |
1221 |
|
{ return OPER; } |
1222 |
|
YY_BREAK |
1223 |
|
case 28: |
1224 |
|
YY_RULE_SETUP |
1225 |
< |
#line 114 "config-lexer.l" |
1225 |
> |
#line 115 "config-lexer.l" |
1226 |
|
{ return OPM; } |
1227 |
|
YY_BREAK |
1228 |
|
case 29: |
1229 |
|
YY_RULE_SETUP |
1230 |
< |
#line 115 "config-lexer.l" |
1230 |
> |
#line 116 "config-lexer.l" |
1231 |
|
{ return OPTIONS; } |
1232 |
|
YY_BREAK |
1233 |
|
case 30: |
1234 |
|
YY_RULE_SETUP |
1235 |
< |
#line 116 "config-lexer.l" |
1235 |
> |
#line 117 "config-lexer.l" |
1236 |
|
{ return PASSWORD; } |
1237 |
|
YY_BREAK |
1238 |
|
case 31: |
1239 |
|
YY_RULE_SETUP |
1240 |
< |
#line 117 "config-lexer.l" |
1240 |
> |
#line 118 "config-lexer.l" |
1241 |
|
{ return PERFORM; } |
1242 |
|
YY_BREAK |
1243 |
|
case 32: |
1244 |
|
YY_RULE_SETUP |
1245 |
< |
#line 118 "config-lexer.l" |
1245 |
> |
#line 119 "config-lexer.l" |
1246 |
|
{ return PIDFILE; } |
1247 |
|
YY_BREAK |
1248 |
|
case 33: |
1249 |
|
YY_RULE_SETUP |
1250 |
< |
#line 119 "config-lexer.l" |
1250 |
> |
#line 120 "config-lexer.l" |
1251 |
|
{ return PORT; } |
1252 |
|
YY_BREAK |
1253 |
|
case 34: |
1254 |
|
YY_RULE_SETUP |
1255 |
< |
#line 120 "config-lexer.l" |
1255 |
> |
#line 121 "config-lexer.l" |
1256 |
|
{ return PROTOCOL; } |
1257 |
|
YY_BREAK |
1258 |
|
case 35: |
1259 |
|
YY_RULE_SETUP |
1260 |
< |
#line 121 "config-lexer.l" |
1260 |
> |
#line 122 "config-lexer.l" |
1261 |
|
{ return READTIMEOUT; } |
1262 |
|
YY_BREAK |
1263 |
|
case 36: |
1264 |
|
YY_RULE_SETUP |
1265 |
< |
#line 122 "config-lexer.l" |
1265 |
> |
#line 123 "config-lexer.l" |
1266 |
|
{ return REALNAME; } |
1267 |
|
YY_BREAK |
1268 |
|
case 37: |
1269 |
|
YY_RULE_SETUP |
1270 |
< |
#line 123 "config-lexer.l" |
1270 |
> |
#line 124 "config-lexer.l" |
1271 |
|
{ return REPLY; } |
1272 |
|
YY_BREAK |
1273 |
|
case 38: |
1274 |
|
YY_RULE_SETUP |
1275 |
< |
#line 124 "config-lexer.l" |
1275 |
> |
#line 125 "config-lexer.l" |
1276 |
|
{ return SCANLOG; } |
1277 |
|
YY_BREAK |
1278 |
|
case 39: |
1279 |
|
YY_RULE_SETUP |
1280 |
< |
#line 125 "config-lexer.l" |
1280 |
> |
#line 126 "config-lexer.l" |
1281 |
|
{ return SCANNER; } |
1282 |
|
YY_BREAK |
1283 |
|
case 40: |
1284 |
|
YY_RULE_SETUP |
1285 |
< |
#line 126 "config-lexer.l" |
1285 |
> |
#line 127 "config-lexer.l" |
1286 |
|
{ return SENDMAIL; } |
1287 |
|
YY_BREAK |
1288 |
|
case 41: |
1289 |
|
YY_RULE_SETUP |
1290 |
< |
#line 127 "config-lexer.l" |
1290 |
> |
#line 128 "config-lexer.l" |
1291 |
|
{ return SERVER; } |
1292 |
|
YY_BREAK |
1293 |
|
case 42: |
1294 |
|
YY_RULE_SETUP |
1295 |
< |
#line 128 "config-lexer.l" |
1295 |
> |
#line 129 "config-lexer.l" |
1296 |
|
{ return TARGET_IP; } |
1297 |
|
YY_BREAK |
1298 |
|
case 43: |
1299 |
|
YY_RULE_SETUP |
1300 |
< |
#line 129 "config-lexer.l" |
1300 |
> |
#line 130 "config-lexer.l" |
1301 |
|
{ return TARGET_PORT; } |
1302 |
|
YY_BREAK |
1303 |
|
case 44: |
1304 |
|
YY_RULE_SETUP |
1305 |
< |
#line 130 "config-lexer.l" |
1305 |
> |
#line 131 "config-lexer.l" |
1306 |
|
{ return TARGET_STRING;} |
1307 |
|
YY_BREAK |
1308 |
|
case 45: |
1309 |
|
YY_RULE_SETUP |
1310 |
< |
#line 131 "config-lexer.l" |
1310 |
> |
#line 132 "config-lexer.l" |
1311 |
|
{ return TIMEOUT; } |
1312 |
|
YY_BREAK |
1313 |
|
case 46: |
1314 |
|
YY_RULE_SETUP |
1315 |
< |
#line 132 "config-lexer.l" |
1315 |
> |
#line 133 "config-lexer.l" |
1316 |
|
{ return TYPE; } |
1317 |
|
YY_BREAK |
1318 |
|
case 47: |
1319 |
|
YY_RULE_SETUP |
1320 |
< |
#line 133 "config-lexer.l" |
1320 |
> |
#line 134 "config-lexer.l" |
1321 |
|
{ return USER; } |
1322 |
|
YY_BREAK |
1323 |
|
case 48: |
1324 |
|
YY_RULE_SETUP |
1325 |
< |
#line 134 "config-lexer.l" |
1325 |
> |
#line 135 "config-lexer.l" |
1326 |
|
{ return USERNAME; } |
1327 |
|
YY_BREAK |
1328 |
|
case 49: |
1329 |
|
YY_RULE_SETUP |
1330 |
< |
#line 135 "config-lexer.l" |
1330 |
> |
#line 136 "config-lexer.l" |
1331 |
|
{ return VHOST; } |
1332 |
|
YY_BREAK |
1333 |
|
case 50: |
1334 |
|
YY_RULE_SETUP |
1335 |
< |
#line 137 "config-lexer.l" |
1335 |
> |
#line 138 "config-lexer.l" |
1336 |
|
{ return YEARS; } |
1337 |
|
YY_BREAK |
1338 |
|
case 51: |
1339 |
|
YY_RULE_SETUP |
1340 |
< |
#line 138 "config-lexer.l" |
1340 |
> |
#line 139 "config-lexer.l" |
1341 |
|
{ return YEARS; } |
1342 |
|
YY_BREAK |
1343 |
|
case 52: |
1344 |
|
YY_RULE_SETUP |
1345 |
< |
#line 139 "config-lexer.l" |
1345 |
> |
#line 140 "config-lexer.l" |
1346 |
|
{ return MONTHS; } |
1347 |
|
YY_BREAK |
1348 |
|
case 53: |
1349 |
|
YY_RULE_SETUP |
1350 |
< |
#line 140 "config-lexer.l" |
1350 |
> |
#line 141 "config-lexer.l" |
1351 |
|
{ return MONTHS; } |
1352 |
|
YY_BREAK |
1353 |
|
case 54: |
1354 |
|
YY_RULE_SETUP |
1355 |
< |
#line 141 "config-lexer.l" |
1355 |
> |
#line 142 "config-lexer.l" |
1356 |
|
{ return WEEKS; } |
1357 |
|
YY_BREAK |
1358 |
|
case 55: |
1359 |
|
YY_RULE_SETUP |
1360 |
< |
#line 142 "config-lexer.l" |
1360 |
> |
#line 143 "config-lexer.l" |
1361 |
|
{ return WEEKS; } |
1362 |
|
YY_BREAK |
1363 |
|
case 56: |
1364 |
|
YY_RULE_SETUP |
1365 |
< |
#line 143 "config-lexer.l" |
1365 |
> |
#line 144 "config-lexer.l" |
1366 |
|
{ return DAYS; } |
1367 |
|
YY_BREAK |
1368 |
|
case 57: |
1369 |
|
YY_RULE_SETUP |
1370 |
< |
#line 144 "config-lexer.l" |
1370 |
> |
#line 145 "config-lexer.l" |
1371 |
|
{ return DAYS; } |
1372 |
|
YY_BREAK |
1373 |
|
case 58: |
1374 |
|
YY_RULE_SETUP |
1375 |
< |
#line 145 "config-lexer.l" |
1375 |
> |
#line 146 "config-lexer.l" |
1376 |
|
{ return HOURS; } |
1377 |
|
YY_BREAK |
1378 |
|
case 59: |
1379 |
|
YY_RULE_SETUP |
1380 |
< |
#line 146 "config-lexer.l" |
1380 |
> |
#line 147 "config-lexer.l" |
1381 |
|
{ return HOURS; } |
1382 |
|
YY_BREAK |
1383 |
|
case 60: |
1384 |
|
YY_RULE_SETUP |
1385 |
< |
#line 147 "config-lexer.l" |
1385 |
> |
#line 148 "config-lexer.l" |
1386 |
|
{ return MINUTES; } |
1387 |
|
YY_BREAK |
1388 |
|
case 61: |
1389 |
|
YY_RULE_SETUP |
1390 |
< |
#line 148 "config-lexer.l" |
1390 |
> |
#line 149 "config-lexer.l" |
1391 |
|
{ return MINUTES; } |
1392 |
|
YY_BREAK |
1393 |
|
case 62: |
1394 |
|
YY_RULE_SETUP |
1395 |
< |
#line 149 "config-lexer.l" |
1395 |
> |
#line 150 "config-lexer.l" |
1396 |
|
{ return SECONDS; } |
1397 |
|
YY_BREAK |
1398 |
|
case 63: |
1399 |
|
YY_RULE_SETUP |
1400 |
< |
#line 150 "config-lexer.l" |
1400 |
> |
#line 151 "config-lexer.l" |
1401 |
|
{ return SECONDS; } |
1402 |
|
YY_BREAK |
1403 |
|
case 64: |
1404 |
|
YY_RULE_SETUP |
1405 |
< |
#line 152 "config-lexer.l" |
1405 |
> |
#line 153 "config-lexer.l" |
1406 |
|
{ return BYTES; } |
1407 |
|
YY_BREAK |
1408 |
|
case 65: |
1409 |
|
YY_RULE_SETUP |
1410 |
< |
#line 153 "config-lexer.l" |
1410 |
> |
#line 154 "config-lexer.l" |
1411 |
|
{ return BYTES; } |
1412 |
|
YY_BREAK |
1413 |
|
case 66: |
1414 |
|
YY_RULE_SETUP |
1415 |
< |
#line 154 "config-lexer.l" |
1415 |
> |
#line 155 "config-lexer.l" |
1416 |
|
{ return KBYTES; } |
1417 |
|
YY_BREAK |
1418 |
|
case 67: |
1419 |
|
YY_RULE_SETUP |
1420 |
< |
#line 155 "config-lexer.l" |
1420 |
> |
#line 156 "config-lexer.l" |
1421 |
|
{ return KBYTES; } |
1422 |
|
YY_BREAK |
1423 |
|
case 68: |
1424 |
|
YY_RULE_SETUP |
1425 |
< |
#line 156 "config-lexer.l" |
1425 |
> |
#line 157 "config-lexer.l" |
1426 |
|
{ return KBYTES; } |
1427 |
|
YY_BREAK |
1428 |
|
case 69: |
1429 |
|
YY_RULE_SETUP |
1430 |
< |
#line 157 "config-lexer.l" |
1430 |
> |
#line 158 "config-lexer.l" |
1431 |
|
{ return KBYTES; } |
1432 |
|
YY_BREAK |
1433 |
|
case 70: |
1434 |
|
YY_RULE_SETUP |
1435 |
< |
#line 158 "config-lexer.l" |
1435 |
> |
#line 159 "config-lexer.l" |
1436 |
|
{ return KBYTES; } |
1437 |
|
YY_BREAK |
1438 |
|
case 71: |
1439 |
|
YY_RULE_SETUP |
1440 |
< |
#line 159 "config-lexer.l" |
1440 |
> |
#line 160 "config-lexer.l" |
1441 |
|
{ return MBYTES; } |
1442 |
|
YY_BREAK |
1443 |
|
case 72: |
1444 |
|
YY_RULE_SETUP |
1445 |
< |
#line 160 "config-lexer.l" |
1445 |
> |
#line 161 "config-lexer.l" |
1446 |
|
{ return MBYTES; } |
1447 |
|
YY_BREAK |
1448 |
|
case 73: |
1449 |
|
YY_RULE_SETUP |
1450 |
< |
#line 161 "config-lexer.l" |
1450 |
> |
#line 162 "config-lexer.l" |
1451 |
|
{ return MBYTES; } |
1452 |
|
YY_BREAK |
1453 |
|
case 74: |
1454 |
|
YY_RULE_SETUP |
1455 |
< |
#line 162 "config-lexer.l" |
1455 |
> |
#line 163 "config-lexer.l" |
1456 |
|
{ return MBYTES; } |
1457 |
|
YY_BREAK |
1458 |
|
case 75: |
1459 |
|
YY_RULE_SETUP |
1460 |
< |
#line 163 "config-lexer.l" |
1460 |
> |
#line 164 "config-lexer.l" |
1461 |
|
{ return MBYTES; } |
1462 |
|
YY_BREAK |
1463 |
|
case 76: |
1464 |
|
YY_RULE_SETUP |
1465 |
< |
#line 165 "config-lexer.l" |
1465 |
> |
#line 166 "config-lexer.l" |
1466 |
|
{ |
1467 |
|
yylval.number = OPM_TYPE_HTTP; |
1468 |
|
return PROTOCOLTYPE; |
1470 |
|
YY_BREAK |
1471 |
|
case 77: |
1472 |
|
YY_RULE_SETUP |
1473 |
< |
#line 170 "config-lexer.l" |
1473 |
> |
#line 171 "config-lexer.l" |
1474 |
|
{ |
1475 |
|
yylval.number = OPM_TYPE_HTTPPOST; |
1476 |
|
return PROTOCOLTYPE; |
1478 |
|
YY_BREAK |
1479 |
|
case 78: |
1480 |
|
YY_RULE_SETUP |
1481 |
< |
#line 175 "config-lexer.l" |
1481 |
> |
#line 176 "config-lexer.l" |
1482 |
|
{ |
1483 |
|
yylval.number = OPM_TYPE_SOCKS4; |
1484 |
|
return PROTOCOLTYPE; |
1486 |
|
YY_BREAK |
1487 |
|
case 79: |
1488 |
|
YY_RULE_SETUP |
1489 |
< |
#line 180 "config-lexer.l" |
1489 |
> |
#line 181 "config-lexer.l" |
1490 |
|
{ |
1491 |
|
yylval.number = OPM_TYPE_SOCKS5; |
1492 |
|
return PROTOCOLTYPE; |
1494 |
|
YY_BREAK |
1495 |
|
case 80: |
1496 |
|
YY_RULE_SETUP |
1497 |
< |
#line 185 "config-lexer.l" |
1497 |
> |
#line 186 "config-lexer.l" |
1498 |
|
{ |
1499 |
|
yylval.number = OPM_TYPE_WINGATE; |
1500 |
|
return PROTOCOLTYPE; |
1502 |
|
YY_BREAK |
1503 |
|
case 81: |
1504 |
|
YY_RULE_SETUP |
1505 |
< |
#line 190 "config-lexer.l" |
1505 |
> |
#line 191 "config-lexer.l" |
1506 |
|
{ |
1507 |
|
yylval.number = OPM_TYPE_ROUTER; |
1508 |
|
return PROTOCOLTYPE; |
1510 |
|
YY_BREAK |
1511 |
|
case 82: |
1512 |
|
YY_RULE_SETUP |
1513 |
< |
#line 196 "config-lexer.l" |
1513 |
> |
#line 197 "config-lexer.l" |
1514 |
|
{ |
1515 |
|
yylval.number=atoi(yytext); |
1516 |
|
return NUMBER; |
1518 |
|
YY_BREAK |
1519 |
|
case 83: |
1520 |
|
YY_RULE_SETUP |
1521 |
< |
#line 205 "config-lexer.l" |
1521 |
> |
#line 206 "config-lexer.l" |
1522 |
|
{ |
1523 |
|
yylval.number=1; |
1524 |
|
return NUMBER; |
1526 |
|
YY_BREAK |
1527 |
|
case 84: |
1528 |
|
YY_RULE_SETUP |
1529 |
< |
#line 209 "config-lexer.l" |
1529 |
> |
#line 210 "config-lexer.l" |
1530 |
|
{ |
1531 |
|
yylval.number=1; |
1532 |
|
return NUMBER; |
1534 |
|
YY_BREAK |
1535 |
|
case 85: |
1536 |
|
YY_RULE_SETUP |
1537 |
< |
#line 213 "config-lexer.l" |
1537 |
> |
#line 214 "config-lexer.l" |
1538 |
|
{ |
1539 |
|
yylval.number=1; |
1540 |
|
return NUMBER; |
1542 |
|
YY_BREAK |
1543 |
|
case 86: |
1544 |
|
YY_RULE_SETUP |
1545 |
< |
#line 220 "config-lexer.l" |
1545 |
> |
#line 221 "config-lexer.l" |
1546 |
|
{ |
1547 |
|
yylval.number=0; |
1548 |
|
return NUMBER; |
1550 |
|
YY_BREAK |
1551 |
|
case 87: |
1552 |
|
YY_RULE_SETUP |
1553 |
< |
#line 225 "config-lexer.l" |
1553 |
> |
#line 226 "config-lexer.l" |
1554 |
|
{ |
1555 |
|
yylval.number=0; |
1556 |
|
return NUMBER; |
1558 |
|
YY_BREAK |
1559 |
|
case 88: |
1560 |
|
YY_RULE_SETUP |
1561 |
< |
#line 230 "config-lexer.l" |
1561 |
> |
#line 231 "config-lexer.l" |
1562 |
|
{ |
1563 |
|
yylval.number=0; |
1564 |
|
return NUMBER; |
1567 |
|
case 89: |
1568 |
|
/* rule 89 can match eol */ |
1569 |
|
YY_RULE_SETUP |
1570 |
< |
#line 236 "config-lexer.l" |
1570 |
> |
#line 237 "config-lexer.l" |
1571 |
|
{ |
1572 |
|
strlcpy(linebuf, yytext + 1, sizeof(linebuf)); |
1573 |
|
++linenum; |
1576 |
|
YY_BREAK |
1577 |
|
case 90: |
1578 |
|
YY_RULE_SETUP |
1579 |
< |
#line 242 "config-lexer.l" |
1579 |
> |
#line 243 "config-lexer.l" |
1580 |
|
/* ignore whitespace */; |
1581 |
|
YY_BREAK |
1582 |
|
case 91: |
1583 |
|
YY_RULE_SETUP |
1584 |
< |
#line 244 "config-lexer.l" |
1584 |
> |
#line 245 "config-lexer.l" |
1585 |
|
return yytext[0]; |
1586 |
|
YY_BREAK |
1587 |
|
case 92: |
1588 |
|
YY_RULE_SETUP |
1589 |
< |
#line 246 "config-lexer.l" |
1589 |
> |
#line 247 "config-lexer.l" |
1590 |
|
ECHO; |
1591 |
|
YY_BREAK |
1592 |
< |
#line 1597 "config-lexer.c" |
1592 |
> |
#line 1593 "config-lexer.c" |
1593 |
|
case YY_STATE_EOF(INITIAL): |
1594 |
|
yyterminate(); |
1595 |
|
|
1656 |
|
|
1657 |
|
else |
1658 |
|
{ |
1659 |
< |
yy_cp = (yy_c_buf_p); |
1659 |
> |
yy_cp = (yy_last_accepting_cpos); |
1660 |
> |
yy_current_state = (yy_last_accepting_state); |
1661 |
|
goto yy_find_action; |
1662 |
|
} |
1663 |
|
} |
2127 |
|
b->yy_bs_column = 0; |
2128 |
|
} |
2129 |
|
|
2130 |
< |
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; |
2130 |
> |
b->yy_is_interactive = 0; |
2131 |
|
|
2132 |
|
errno = oerrno; |
2133 |
|
} |
2548 |
|
|
2549 |
|
#define YYTABLES_NAME "yytables" |
2550 |
|
|
2551 |
< |
#line 246 "config-lexer.l" |
2551 |
> |
#line 247 "config-lexer.l" |
2552 |
|
|
2553 |
|
|
2554 |
|
|