Changeset 63415 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/generated
- Timestamp:
- Aug 13, 2016 4:29:19 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110061
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/generated/dt_lex.c
r63135 r63415 894 894 # ifdef _MSC_VER 895 895 # pragma warning(disable:4668 4131 4255) 896 # endif 897 # ifdef __GNUC__ 898 # if ((__GNUC__ << 16) + __GNUC_MINOR__) >= 0x4002 899 # pragma GCC diagnostic ignored "-Wunused-function" 900 # endif 896 901 # endif 897 902 # include <iprt/ctype.h> … … 960 965 #define S4 5 961 966 962 #line 96 3"dt_lex.c"967 #line 968 "dt_lex.c" 963 968 964 969 /* Macros after this point can all be overridden by user definitions in … … 1114 1119 register int yy_act; 1115 1120 1116 #line 1 27"dt_lex.l"1121 #line 132 "dt_lex.l" 1117 1122 1118 1123 … … 1134 1139 1135 1140 1136 #line 11 37"dt_lex.c"1141 #line 1142 "dt_lex.c" 1137 1142 1138 1143 if ( yy_init ) … … 1251 1256 case 1: 1252 1257 YY_RULE_SETUP 1253 #line 1 46"dt_lex.l"1258 #line 151 "dt_lex.l" 1254 1259 return (DT_KEY_AUTO); 1255 1260 YY_BREAK 1256 1261 case 2: 1257 1262 YY_RULE_SETUP 1258 #line 1 47"dt_lex.l"1263 #line 152 "dt_lex.l" 1259 1264 return (DT_KEY_BREAK); 1260 1265 YY_BREAK 1261 1266 case 3: 1262 1267 YY_RULE_SETUP 1263 #line 1 48"dt_lex.l"1268 #line 153 "dt_lex.l" 1264 1269 return (DT_KEY_CASE); 1265 1270 YY_BREAK 1266 1271 case 4: 1267 1272 YY_RULE_SETUP 1268 #line 1 49"dt_lex.l"1273 #line 154 "dt_lex.l" 1269 1274 return (DT_KEY_CHAR); 1270 1275 YY_BREAK 1271 1276 case 5: 1272 1277 YY_RULE_SETUP 1273 #line 15 0"dt_lex.l"1278 #line 155 "dt_lex.l" 1274 1279 return (DT_KEY_CONST); 1275 1280 YY_BREAK 1276 1281 case 6: 1277 1282 YY_RULE_SETUP 1278 #line 15 1"dt_lex.l"1283 #line 156 "dt_lex.l" 1279 1284 return (DT_KEY_CONTINUE); 1280 1285 YY_BREAK 1281 1286 case 7: 1282 1287 YY_RULE_SETUP 1283 #line 15 2"dt_lex.l"1288 #line 157 "dt_lex.l" 1284 1289 return (DT_KEY_COUNTER); 1285 1290 YY_BREAK 1286 1291 case 8: 1287 1292 YY_RULE_SETUP 1288 #line 15 3"dt_lex.l"1293 #line 158 "dt_lex.l" 1289 1294 return (DT_KEY_DEFAULT); 1290 1295 YY_BREAK 1291 1296 case 9: 1292 1297 YY_RULE_SETUP 1293 #line 15 4"dt_lex.l"1298 #line 159 "dt_lex.l" 1294 1299 return (DT_KEY_DO); 1295 1300 YY_BREAK 1296 1301 case 10: 1297 1302 YY_RULE_SETUP 1298 #line 1 55"dt_lex.l"1303 #line 160 "dt_lex.l" 1299 1304 return (DT_KEY_DOUBLE); 1300 1305 YY_BREAK 1301 1306 case 11: 1302 1307 YY_RULE_SETUP 1303 #line 1 56"dt_lex.l"1308 #line 161 "dt_lex.l" 1304 1309 return (DT_KEY_ELSE); 1305 1310 YY_BREAK 1306 1311 case 12: 1307 1312 YY_RULE_SETUP 1308 #line 1 57"dt_lex.l"1313 #line 162 "dt_lex.l" 1309 1314 return (DT_KEY_ENUM); 1310 1315 YY_BREAK 1311 1316 case 13: 1312 1317 YY_RULE_SETUP 1313 #line 1 58"dt_lex.l"1318 #line 163 "dt_lex.l" 1314 1319 return (DT_KEY_EXTERN); 1315 1320 YY_BREAK 1316 1321 case 14: 1317 1322 YY_RULE_SETUP 1318 #line 1 59"dt_lex.l"1323 #line 164 "dt_lex.l" 1319 1324 return (DT_KEY_FLOAT); 1320 1325 YY_BREAK 1321 1326 case 15: 1322 1327 YY_RULE_SETUP 1323 #line 16 0"dt_lex.l"1328 #line 165 "dt_lex.l" 1324 1329 return (DT_KEY_FOR); 1325 1330 YY_BREAK 1326 1331 case 16: 1327 1332 YY_RULE_SETUP 1328 #line 16 1"dt_lex.l"1333 #line 166 "dt_lex.l" 1329 1334 return (DT_KEY_GOTO); 1330 1335 YY_BREAK 1331 1336 case 17: 1332 1337 YY_RULE_SETUP 1333 #line 16 2"dt_lex.l"1338 #line 167 "dt_lex.l" 1334 1339 return (DT_KEY_IF); 1335 1340 YY_BREAK 1336 1341 case 18: 1337 1342 YY_RULE_SETUP 1338 #line 16 3"dt_lex.l"1343 #line 168 "dt_lex.l" 1339 1344 return (DT_KEY_IMPORT); 1340 1345 YY_BREAK 1341 1346 case 19: 1342 1347 YY_RULE_SETUP 1343 #line 16 4"dt_lex.l"1348 #line 169 "dt_lex.l" 1344 1349 return (DT_KEY_INLINE); 1345 1350 YY_BREAK 1346 1351 case 20: 1347 1352 YY_RULE_SETUP 1348 #line 1 65"dt_lex.l"1353 #line 170 "dt_lex.l" 1349 1354 return (DT_KEY_INT); 1350 1355 YY_BREAK 1351 1356 case 21: 1352 1357 YY_RULE_SETUP 1353 #line 1 66"dt_lex.l"1358 #line 171 "dt_lex.l" 1354 1359 return (DT_KEY_LONG); 1355 1360 YY_BREAK 1356 1361 case 22: 1357 1362 YY_RULE_SETUP 1358 #line 1 67"dt_lex.l"1363 #line 172 "dt_lex.l" 1359 1364 return (DT_TOK_OFFSETOF); 1360 1365 YY_BREAK 1361 1366 case 23: 1362 1367 YY_RULE_SETUP 1363 #line 1 68"dt_lex.l"1368 #line 173 "dt_lex.l" 1364 1369 return (DT_KEY_PROBE); 1365 1370 YY_BREAK 1366 1371 case 24: 1367 1372 YY_RULE_SETUP 1368 #line 1 69"dt_lex.l"1373 #line 174 "dt_lex.l" 1369 1374 return (DT_KEY_PROVIDER); 1370 1375 YY_BREAK 1371 1376 case 25: 1372 1377 YY_RULE_SETUP 1373 #line 17 0"dt_lex.l"1378 #line 175 "dt_lex.l" 1374 1379 return (DT_KEY_REGISTER); 1375 1380 YY_BREAK 1376 1381 case 26: 1377 1382 YY_RULE_SETUP 1378 #line 17 1"dt_lex.l"1383 #line 176 "dt_lex.l" 1379 1384 return (DT_KEY_RESTRICT); 1380 1385 YY_BREAK 1381 1386 case 27: 1382 1387 YY_RULE_SETUP 1383 #line 17 2"dt_lex.l"1388 #line 177 "dt_lex.l" 1384 1389 return (DT_KEY_RETURN); 1385 1390 YY_BREAK 1386 1391 case 28: 1387 1392 YY_RULE_SETUP 1388 #line 17 3"dt_lex.l"1393 #line 178 "dt_lex.l" 1389 1394 return (DT_KEY_SELF); 1390 1395 YY_BREAK 1391 1396 case 29: 1392 1397 YY_RULE_SETUP 1393 #line 17 4"dt_lex.l"1398 #line 179 "dt_lex.l" 1394 1399 return (DT_KEY_SHORT); 1395 1400 YY_BREAK 1396 1401 case 30: 1397 1402 YY_RULE_SETUP 1398 #line 1 75"dt_lex.l"1403 #line 180 "dt_lex.l" 1399 1404 return (DT_KEY_SIGNED); 1400 1405 YY_BREAK 1401 1406 case 31: 1402 1407 YY_RULE_SETUP 1403 #line 1 76"dt_lex.l"1408 #line 181 "dt_lex.l" 1404 1409 return (DT_TOK_SIZEOF); 1405 1410 YY_BREAK 1406 1411 case 32: 1407 1412 YY_RULE_SETUP 1408 #line 1 77"dt_lex.l"1413 #line 182 "dt_lex.l" 1409 1414 return (DT_KEY_STATIC); 1410 1415 YY_BREAK 1411 1416 case 33: 1412 1417 YY_RULE_SETUP 1413 #line 1 78"dt_lex.l"1418 #line 183 "dt_lex.l" 1414 1419 return (DT_KEY_STRING); 1415 1420 YY_BREAK 1416 1421 case 34: 1417 1422 YY_RULE_SETUP 1418 #line 1 79"dt_lex.l"1423 #line 184 "dt_lex.l" 1419 1424 return (DT_TOK_STRINGOF); 1420 1425 YY_BREAK 1421 1426 case 35: 1422 1427 YY_RULE_SETUP 1423 #line 18 0"dt_lex.l"1428 #line 185 "dt_lex.l" 1424 1429 return (DT_KEY_STRUCT); 1425 1430 YY_BREAK 1426 1431 case 36: 1427 1432 YY_RULE_SETUP 1428 #line 18 1"dt_lex.l"1433 #line 186 "dt_lex.l" 1429 1434 return (DT_KEY_SWITCH); 1430 1435 YY_BREAK 1431 1436 case 37: 1432 1437 YY_RULE_SETUP 1433 #line 18 2"dt_lex.l"1438 #line 187 "dt_lex.l" 1434 1439 return (DT_KEY_THIS); 1435 1440 YY_BREAK 1436 1441 case 38: 1437 1442 YY_RULE_SETUP 1438 #line 18 3"dt_lex.l"1443 #line 188 "dt_lex.l" 1439 1444 return (DT_KEY_XLATOR); 1440 1445 YY_BREAK 1441 1446 case 39: 1442 1447 YY_RULE_SETUP 1443 #line 18 4"dt_lex.l"1448 #line 189 "dt_lex.l" 1444 1449 return (DT_KEY_TYPEDEF); 1445 1450 YY_BREAK 1446 1451 case 40: 1447 1452 YY_RULE_SETUP 1448 #line 1 85"dt_lex.l"1453 #line 190 "dt_lex.l" 1449 1454 return (DT_KEY_UNION); 1450 1455 YY_BREAK 1451 1456 case 41: 1452 1457 YY_RULE_SETUP 1453 #line 1 86"dt_lex.l"1458 #line 191 "dt_lex.l" 1454 1459 return (DT_KEY_UNSIGNED); 1455 1460 YY_BREAK 1456 1461 case 42: 1457 1462 YY_RULE_SETUP 1458 #line 1 87"dt_lex.l"1463 #line 192 "dt_lex.l" 1459 1464 return (DT_KEY_VOID); 1460 1465 YY_BREAK 1461 1466 case 43: 1462 1467 YY_RULE_SETUP 1463 #line 1 88"dt_lex.l"1468 #line 193 "dt_lex.l" 1464 1469 return (DT_KEY_VOLATILE); 1465 1470 YY_BREAK 1466 1471 case 44: 1467 1472 YY_RULE_SETUP 1468 #line 1 89"dt_lex.l"1473 #line 194 "dt_lex.l" 1469 1474 return (DT_KEY_WHILE); 1470 1475 YY_BREAK 1471 1476 case 45: 1472 1477 YY_RULE_SETUP 1473 #line 19 0"dt_lex.l"1478 #line 195 "dt_lex.l" 1474 1479 return (DT_TOK_XLATE); 1475 1480 YY_BREAK 1476 1481 case 46: 1477 1482 YY_RULE_SETUP 1478 #line 19 2"dt_lex.l"1483 #line 197 "dt_lex.l" 1479 1484 { yybegin(YYS_EXPR); return (DT_KEY_AUTO); } 1480 1485 YY_BREAK 1481 1486 case 47: 1482 1487 YY_RULE_SETUP 1483 #line 19 3"dt_lex.l"1488 #line 198 "dt_lex.l" 1484 1489 { yybegin(YYS_EXPR); return (DT_KEY_CHAR); } 1485 1490 YY_BREAK 1486 1491 case 48: 1487 1492 YY_RULE_SETUP 1488 #line 19 4"dt_lex.l"1493 #line 199 "dt_lex.l" 1489 1494 { yybegin(YYS_EXPR); return (DT_KEY_CONST); } 1490 1495 YY_BREAK 1491 1496 case 49: 1492 1497 YY_RULE_SETUP 1493 #line 195"dt_lex.l"1498 #line 200 "dt_lex.l" 1494 1499 { yybegin(YYS_DEFINE); return (DT_KEY_COUNTER); } 1495 1500 YY_BREAK 1496 1501 case 50: 1497 1502 YY_RULE_SETUP 1498 #line 196"dt_lex.l"1503 #line 201 "dt_lex.l" 1499 1504 { yybegin(YYS_EXPR); return (DT_KEY_DOUBLE); } 1500 1505 YY_BREAK 1501 1506 case 51: 1502 1507 YY_RULE_SETUP 1503 #line 197"dt_lex.l"1508 #line 202 "dt_lex.l" 1504 1509 { yybegin(YYS_EXPR); return (DT_KEY_ENUM); } 1505 1510 YY_BREAK 1506 1511 case 52: 1507 1512 YY_RULE_SETUP 1508 #line 198"dt_lex.l"1513 #line 203 "dt_lex.l" 1509 1514 { yybegin(YYS_EXPR); return (DT_KEY_EXTERN); } 1510 1515 YY_BREAK 1511 1516 case 53: 1512 1517 YY_RULE_SETUP 1513 #line 199"dt_lex.l"1518 #line 204 "dt_lex.l" 1514 1519 { yybegin(YYS_EXPR); return (DT_KEY_FLOAT); } 1515 1520 YY_BREAK 1516 1521 case 54: 1517 1522 YY_RULE_SETUP 1518 #line 20 0"dt_lex.l"1523 #line 205 "dt_lex.l" 1519 1524 { yybegin(YYS_EXPR); return (DT_KEY_IMPORT); } 1520 1525 YY_BREAK 1521 1526 case 55: 1522 1527 YY_RULE_SETUP 1523 #line 20 1"dt_lex.l"1528 #line 206 "dt_lex.l" 1524 1529 { yybegin(YYS_DEFINE); return (DT_KEY_INLINE); } 1525 1530 YY_BREAK 1526 1531 case 56: 1527 1532 YY_RULE_SETUP 1528 #line 20 2"dt_lex.l"1533 #line 207 "dt_lex.l" 1529 1534 { yybegin(YYS_EXPR); return (DT_KEY_INT); } 1530 1535 YY_BREAK 1531 1536 case 57: 1532 1537 YY_RULE_SETUP 1533 #line 20 3"dt_lex.l"1538 #line 208 "dt_lex.l" 1534 1539 { yybegin(YYS_EXPR); return (DT_KEY_LONG); } 1535 1540 YY_BREAK 1536 1541 case 58: 1537 1542 YY_RULE_SETUP 1538 #line 20 4"dt_lex.l"1543 #line 209 "dt_lex.l" 1539 1544 { yybegin(YYS_DEFINE); return (DT_KEY_PROVIDER); } 1540 1545 YY_BREAK 1541 1546 case 59: 1542 1547 YY_RULE_SETUP 1543 #line 2 05"dt_lex.l"1548 #line 210 "dt_lex.l" 1544 1549 { yybegin(YYS_EXPR); return (DT_KEY_REGISTER); } 1545 1550 YY_BREAK 1546 1551 case 60: 1547 1552 YY_RULE_SETUP 1548 #line 2 06"dt_lex.l"1553 #line 211 "dt_lex.l" 1549 1554 { yybegin(YYS_EXPR); return (DT_KEY_RESTRICT); } 1550 1555 YY_BREAK 1551 1556 case 61: 1552 1557 YY_RULE_SETUP 1553 #line 2 07"dt_lex.l"1558 #line 212 "dt_lex.l" 1554 1559 { yybegin(YYS_EXPR); return (DT_KEY_SELF); } 1555 1560 YY_BREAK 1556 1561 case 62: 1557 1562 YY_RULE_SETUP 1558 #line 2 08"dt_lex.l"1563 #line 213 "dt_lex.l" 1559 1564 { yybegin(YYS_EXPR); return (DT_KEY_SHORT); } 1560 1565 YY_BREAK 1561 1566 case 63: 1562 1567 YY_RULE_SETUP 1563 #line 2 09"dt_lex.l"1568 #line 214 "dt_lex.l" 1564 1569 { yybegin(YYS_EXPR); return (DT_KEY_SIGNED); } 1565 1570 YY_BREAK 1566 1571 case 64: 1567 1572 YY_RULE_SETUP 1568 #line 21 0"dt_lex.l"1573 #line 215 "dt_lex.l" 1569 1574 { yybegin(YYS_EXPR); return (DT_KEY_STATIC); } 1570 1575 YY_BREAK 1571 1576 case 65: 1572 1577 YY_RULE_SETUP 1573 #line 21 1"dt_lex.l"1578 #line 216 "dt_lex.l" 1574 1579 { yybegin(YYS_EXPR); return (DT_KEY_STRING); } 1575 1580 YY_BREAK 1576 1581 case 66: 1577 1582 YY_RULE_SETUP 1578 #line 21 2"dt_lex.l"1583 #line 217 "dt_lex.l" 1579 1584 { yybegin(YYS_EXPR); return (DT_KEY_STRUCT); } 1580 1585 YY_BREAK 1581 1586 case 67: 1582 1587 YY_RULE_SETUP 1583 #line 21 3"dt_lex.l"1588 #line 218 "dt_lex.l" 1584 1589 { yybegin(YYS_EXPR); return (DT_KEY_THIS); } 1585 1590 YY_BREAK 1586 1591 case 68: 1587 1592 YY_RULE_SETUP 1588 #line 21 4"dt_lex.l"1593 #line 219 "dt_lex.l" 1589 1594 { yybegin(YYS_DEFINE); return (DT_KEY_XLATOR); } 1590 1595 YY_BREAK 1591 1596 case 69: 1592 1597 YY_RULE_SETUP 1593 #line 2 15"dt_lex.l"1598 #line 220 "dt_lex.l" 1594 1599 { yybegin(YYS_EXPR); return (DT_KEY_TYPEDEF); } 1595 1600 YY_BREAK 1596 1601 case 70: 1597 1602 YY_RULE_SETUP 1598 #line 2 16"dt_lex.l"1603 #line 221 "dt_lex.l" 1599 1604 { yybegin(YYS_EXPR); return (DT_KEY_UNION); } 1600 1605 YY_BREAK 1601 1606 case 71: 1602 1607 YY_RULE_SETUP 1603 #line 2 17"dt_lex.l"1608 #line 222 "dt_lex.l" 1604 1609 { yybegin(YYS_EXPR); return (DT_KEY_UNSIGNED); } 1605 1610 YY_BREAK 1606 1611 case 72: 1607 1612 YY_RULE_SETUP 1608 #line 2 18"dt_lex.l"1613 #line 223 "dt_lex.l" 1609 1614 { yybegin(YYS_EXPR); return (DT_KEY_VOID); } 1610 1615 YY_BREAK 1611 1616 case 73: 1612 1617 YY_RULE_SETUP 1613 #line 2 19"dt_lex.l"1618 #line 224 "dt_lex.l" 1614 1619 { yybegin(YYS_EXPR); return (DT_KEY_VOLATILE); } 1615 1620 YY_BREAK 1616 1621 case 74: 1617 1622 YY_RULE_SETUP 1618 #line 22 1"dt_lex.l"1623 #line 226 "dt_lex.l" 1619 1624 { 1620 1625 int i = atoi(yytext + 2); … … 1649 1654 case 75: 1650 1655 YY_RULE_SETUP 1651 #line 25 1"dt_lex.l"1656 #line 256 "dt_lex.l" 1652 1657 { 1653 1658 int i = atoi(yytext + 1); … … 1733 1738 case 76: 1734 1739 YY_RULE_SETUP 1735 #line 33 2"dt_lex.l"1740 #line 337 "dt_lex.l" 1736 1741 { 1737 1742 dt_ident_t *idp = dt_idhash_lookup( … … 1758 1763 case 77: 1759 1764 YY_RULE_SETUP 1760 #line 35 4"dt_lex.l"1765 #line 359 "dt_lex.l" 1761 1766 { 1762 1767 dt_ident_t *idp = dt_idhash_lookup( … … 1782 1787 case 78: 1783 1788 YY_RULE_SETUP 1784 #line 3 75"dt_lex.l"1789 #line 380 "dt_lex.l" 1785 1790 { 1786 1791 return (id_or_type(yytext)); … … 1789 1794 case 79: 1790 1795 YY_RULE_SETUP 1791 #line 3 79"dt_lex.l"1796 #line 384 "dt_lex.l" 1792 1797 { 1793 1798 if ((yylval.l_str = strdup(yytext)) == NULL) … … 1798 1803 case 80: 1799 1804 YY_RULE_SETUP 1800 #line 3 85"dt_lex.l"1805 #line 390 "dt_lex.l" 1801 1806 { 1802 1807 if ((yylval.l_str = strdup("@_")) == NULL) … … 1806 1811 YY_BREAK 1807 1812 case 81: 1808 #line 39 2"dt_lex.l"1813 #line 397 "dt_lex.l" 1809 1814 case 82: 1810 #line 39 3"dt_lex.l"1815 #line 398 "dt_lex.l" 1811 1816 case 83: 1812 1817 YY_RULE_SETUP 1813 #line 39 3"dt_lex.l"1818 #line 398 "dt_lex.l" 1814 1819 { 1815 1820 char *p; … … 1847 1852 case 84: 1848 1853 YY_RULE_SETUP 1849 #line 4 26"dt_lex.l"1854 #line 431 "dt_lex.l" 1850 1855 yyerror("floating-point constants are not permitted\n"); 1851 1856 YY_BREAK … … 1856 1861 case 85: 1857 1862 YY_RULE_SETUP 1858 #line 43 2"dt_lex.l"1863 #line 437 "dt_lex.l" 1859 1864 xyerror(D_STR_NL, "newline encountered in string literal"); 1860 1865 YY_BREAK 1861 1866 case 86: 1862 #line 4 35"dt_lex.l"1867 #line 440 "dt_lex.l" 1863 1868 case 87: 1864 1869 YY_RULE_SETUP 1865 #line 4 35"dt_lex.l"1870 #line 440 "dt_lex.l" 1866 1871 { 1867 1872 /* … … 1884 1889 case 88: 1885 1890 YY_RULE_SETUP 1886 #line 45 3"dt_lex.l"1891 #line 458 "dt_lex.l" 1887 1892 xyerror(D_CHR_NL, "newline encountered in character constant"); 1888 1893 YY_BREAK 1889 1894 case 89: 1890 1895 YY_RULE_SETUP 1891 #line 4 55"dt_lex.l"1896 #line 460 "dt_lex.l" 1892 1897 { 1893 1898 char *s, *p, *q; … … 1925 1930 YY_BREAK 1926 1931 case 90: 1927 #line 49 0"dt_lex.l"1932 #line 495 "dt_lex.l" 1928 1933 case 91: 1929 1934 YY_RULE_SETUP 1930 #line 49 0"dt_lex.l"1935 #line 495 "dt_lex.l" 1931 1936 { 1932 1937 yypcb->pcb_cstate = (YYSTATE); … … 1935 1940 YY_BREAK 1936 1941 case 92: 1937 #line 496"dt_lex.l"1942 #line 501 "dt_lex.l" 1938 1943 case 93: 1939 1944 YY_RULE_SETUP 1940 #line 496"dt_lex.l"1945 #line 501 "dt_lex.l" 1941 1946 ; /* discard any #! lines */ 1942 1947 YY_BREAK 1943 1948 case 94: 1944 #line 499"dt_lex.l"1949 #line 504 "dt_lex.l" 1945 1950 case 95: 1946 #line 50 0"dt_lex.l"1951 #line 505 "dt_lex.l" 1947 1952 case 96: 1948 1953 YY_RULE_SETUP 1949 #line 50 0"dt_lex.l"1954 #line 505 "dt_lex.l" 1950 1955 { 1951 1956 assert(yypragma == NULL); … … 1956 1961 case 97: 1957 1962 YY_RULE_SETUP 1958 #line 5 06"dt_lex.l"1963 #line 511 "dt_lex.l" 1959 1964 ; /* discard */ 1960 1965 YY_BREAK 1961 1966 case 98: 1962 1967 YY_RULE_SETUP 1963 #line 5 07"dt_lex.l"1968 #line 512 "dt_lex.l" 1964 1969 ; /* discard */ 1965 1970 YY_BREAK 1966 1971 case 99: 1967 1972 YY_RULE_SETUP 1968 #line 5 09"dt_lex.l"1973 #line 514 "dt_lex.l" 1969 1974 { 1970 1975 int c, tok; … … 2003 2008 case 100: 2004 2009 YY_RULE_SETUP 2005 #line 54 3"dt_lex.l"2010 #line 548 "dt_lex.l" 2006 2011 { 2007 2012 yypcb->pcb_parens++; … … 2011 2016 case 101: 2012 2017 YY_RULE_SETUP 2013 #line 5 48"dt_lex.l"2018 #line 553 "dt_lex.l" 2014 2019 { 2015 2020 if (--yypcb->pcb_parens < 0) … … 2020 2025 case 102: 2021 2026 YY_RULE_SETUP 2022 #line 55 4"dt_lex.l"2027 #line 559 "dt_lex.l" 2023 2028 { 2024 2029 yypcb->pcb_brackets++; … … 2028 2033 case 103: 2029 2034 YY_RULE_SETUP 2030 #line 5 59"dt_lex.l"2035 #line 564 "dt_lex.l" 2031 2036 { 2032 2037 if (--yypcb->pcb_brackets < 0) … … 2036 2041 YY_BREAK 2037 2042 case 104: 2038 #line 5 66"dt_lex.l"2043 #line 571 "dt_lex.l" 2039 2044 case 105: 2040 2045 YY_RULE_SETUP 2041 #line 5 66"dt_lex.l"2046 #line 571 "dt_lex.l" 2042 2047 { 2043 2048 yypcb->pcb_braces++; … … 2047 2052 case 106: 2048 2053 YY_RULE_SETUP 2049 #line 57 1"dt_lex.l"2054 #line 576 "dt_lex.l" 2050 2055 { 2051 2056 if (--yypcb->pcb_braces < 0) … … 2056 2061 case 107: 2057 2062 YY_RULE_SETUP 2058 #line 5 77"dt_lex.l"2063 #line 582 "dt_lex.l" 2059 2064 return (DT_TOK_BOR); 2060 2065 YY_BREAK 2061 2066 case 108: 2062 2067 YY_RULE_SETUP 2063 #line 5 78"dt_lex.l"2068 #line 583 "dt_lex.l" 2064 2069 return (DT_TOK_XOR); 2065 2070 YY_BREAK 2066 2071 case 109: 2067 2072 YY_RULE_SETUP 2068 #line 5 79"dt_lex.l"2073 #line 584 "dt_lex.l" 2069 2074 return (DT_TOK_BAND); 2070 2075 YY_BREAK 2071 2076 case 110: 2072 2077 YY_RULE_SETUP 2073 #line 58 0"dt_lex.l"2078 #line 585 "dt_lex.l" 2074 2079 return (DT_TOK_LAND); 2075 2080 YY_BREAK 2076 2081 case 111: 2077 2082 YY_RULE_SETUP 2078 #line 58 1"dt_lex.l"2083 #line 586 "dt_lex.l" 2079 2084 return (DT_TOK_LXOR); 2080 2085 YY_BREAK 2081 2086 case 112: 2082 2087 YY_RULE_SETUP 2083 #line 58 2"dt_lex.l"2088 #line 587 "dt_lex.l" 2084 2089 return (DT_TOK_LOR); 2085 2090 YY_BREAK 2086 2091 case 113: 2087 2092 YY_RULE_SETUP 2088 #line 58 3"dt_lex.l"2093 #line 588 "dt_lex.l" 2089 2094 return (DT_TOK_EQU); 2090 2095 YY_BREAK 2091 2096 case 114: 2092 2097 YY_RULE_SETUP 2093 #line 58 4"dt_lex.l"2098 #line 589 "dt_lex.l" 2094 2099 return (DT_TOK_NEQ); 2095 2100 YY_BREAK 2096 2101 case 115: 2097 2102 YY_RULE_SETUP 2098 #line 5 85"dt_lex.l"2103 #line 590 "dt_lex.l" 2099 2104 return (DT_TOK_LT); 2100 2105 YY_BREAK 2101 2106 case 116: 2102 2107 YY_RULE_SETUP 2103 #line 5 86"dt_lex.l"2108 #line 591 "dt_lex.l" 2104 2109 return (DT_TOK_LE); 2105 2110 YY_BREAK 2106 2111 case 117: 2107 2112 YY_RULE_SETUP 2108 #line 5 87"dt_lex.l"2113 #line 592 "dt_lex.l" 2109 2114 return (DT_TOK_GT); 2110 2115 YY_BREAK 2111 2116 case 118: 2112 2117 YY_RULE_SETUP 2113 #line 5 88"dt_lex.l"2118 #line 593 "dt_lex.l" 2114 2119 return (DT_TOK_GE); 2115 2120 YY_BREAK 2116 2121 case 119: 2117 2122 YY_RULE_SETUP 2118 #line 5 89"dt_lex.l"2123 #line 594 "dt_lex.l" 2119 2124 return (DT_TOK_LSH); 2120 2125 YY_BREAK 2121 2126 case 120: 2122 2127 YY_RULE_SETUP 2123 #line 59 0"dt_lex.l"2128 #line 595 "dt_lex.l" 2124 2129 return (DT_TOK_RSH); 2125 2130 YY_BREAK 2126 2131 case 121: 2127 2132 YY_RULE_SETUP 2128 #line 59 1"dt_lex.l"2133 #line 596 "dt_lex.l" 2129 2134 return (DT_TOK_ADD); 2130 2135 YY_BREAK 2131 2136 case 122: 2132 2137 YY_RULE_SETUP 2133 #line 59 2"dt_lex.l"2138 #line 597 "dt_lex.l" 2134 2139 return (DT_TOK_SUB); 2135 2140 YY_BREAK 2136 2141 case 123: 2137 2142 YY_RULE_SETUP 2138 #line 59 3"dt_lex.l"2143 #line 598 "dt_lex.l" 2139 2144 return (DT_TOK_MUL); 2140 2145 YY_BREAK 2141 2146 case 124: 2142 2147 YY_RULE_SETUP 2143 #line 59 4"dt_lex.l"2148 #line 599 "dt_lex.l" 2144 2149 return (DT_TOK_MOD); 2145 2150 YY_BREAK 2146 2151 case 125: 2147 2152 YY_RULE_SETUP 2148 #line 595"dt_lex.l"2153 #line 600 "dt_lex.l" 2149 2154 return (DT_TOK_BNEG); 2150 2155 YY_BREAK 2151 2156 case 126: 2152 2157 YY_RULE_SETUP 2153 #line 596"dt_lex.l"2158 #line 601 "dt_lex.l" 2154 2159 return (DT_TOK_LNEG); 2155 2160 YY_BREAK 2156 2161 case 127: 2157 2162 YY_RULE_SETUP 2158 #line 597"dt_lex.l"2163 #line 602 "dt_lex.l" 2159 2164 return (DT_TOK_QUESTION); 2160 2165 YY_BREAK 2161 2166 case 128: 2162 2167 YY_RULE_SETUP 2163 #line 598"dt_lex.l"2168 #line 603 "dt_lex.l" 2164 2169 return (DT_TOK_COLON); 2165 2170 YY_BREAK 2166 2171 case 129: 2167 2172 YY_RULE_SETUP 2168 #line 599"dt_lex.l"2173 #line 604 "dt_lex.l" 2169 2174 return (DT_TOK_DOT); 2170 2175 YY_BREAK 2171 2176 case 130: 2172 2177 YY_RULE_SETUP 2173 #line 60 0"dt_lex.l"2178 #line 605 "dt_lex.l" 2174 2179 return (DT_TOK_PTR); 2175 2180 YY_BREAK 2176 2181 case 131: 2177 2182 YY_RULE_SETUP 2178 #line 60 1"dt_lex.l"2183 #line 606 "dt_lex.l" 2179 2184 return (DT_TOK_ASGN); 2180 2185 YY_BREAK 2181 2186 case 132: 2182 2187 YY_RULE_SETUP 2183 #line 60 2"dt_lex.l"2188 #line 607 "dt_lex.l" 2184 2189 return (DT_TOK_ADD_EQ); 2185 2190 YY_BREAK 2186 2191 case 133: 2187 2192 YY_RULE_SETUP 2188 #line 60 3"dt_lex.l"2193 #line 608 "dt_lex.l" 2189 2194 return (DT_TOK_SUB_EQ); 2190 2195 YY_BREAK 2191 2196 case 134: 2192 2197 YY_RULE_SETUP 2193 #line 60 4"dt_lex.l"2198 #line 609 "dt_lex.l" 2194 2199 return (DT_TOK_MUL_EQ); 2195 2200 YY_BREAK 2196 2201 case 135: 2197 2202 YY_RULE_SETUP 2198 #line 6 05"dt_lex.l"2203 #line 610 "dt_lex.l" 2199 2204 return (DT_TOK_DIV_EQ); 2200 2205 YY_BREAK 2201 2206 case 136: 2202 2207 YY_RULE_SETUP 2203 #line 6 06"dt_lex.l"2208 #line 611 "dt_lex.l" 2204 2209 return (DT_TOK_MOD_EQ); 2205 2210 YY_BREAK 2206 2211 case 137: 2207 2212 YY_RULE_SETUP 2208 #line 6 07"dt_lex.l"2213 #line 612 "dt_lex.l" 2209 2214 return (DT_TOK_AND_EQ); 2210 2215 YY_BREAK 2211 2216 case 138: 2212 2217 YY_RULE_SETUP 2213 #line 6 08"dt_lex.l"2218 #line 613 "dt_lex.l" 2214 2219 return (DT_TOK_XOR_EQ); 2215 2220 YY_BREAK 2216 2221 case 139: 2217 2222 YY_RULE_SETUP 2218 #line 6 09"dt_lex.l"2223 #line 614 "dt_lex.l" 2219 2224 return (DT_TOK_OR_EQ); 2220 2225 YY_BREAK 2221 2226 case 140: 2222 2227 YY_RULE_SETUP 2223 #line 61 0"dt_lex.l"2228 #line 615 "dt_lex.l" 2224 2229 return (DT_TOK_LSH_EQ); 2225 2230 YY_BREAK 2226 2231 case 141: 2227 2232 YY_RULE_SETUP 2228 #line 61 1"dt_lex.l"2233 #line 616 "dt_lex.l" 2229 2234 return (DT_TOK_RSH_EQ); 2230 2235 YY_BREAK 2231 2236 case 142: 2232 2237 YY_RULE_SETUP 2233 #line 61 2"dt_lex.l"2238 #line 617 "dt_lex.l" 2234 2239 return (DT_TOK_ADDADD); 2235 2240 YY_BREAK 2236 2241 case 143: 2237 2242 YY_RULE_SETUP 2238 #line 61 3"dt_lex.l"2243 #line 618 "dt_lex.l" 2239 2244 return (DT_TOK_SUBSUB); 2240 2245 YY_BREAK 2241 2246 case 144: 2242 2247 YY_RULE_SETUP 2243 #line 61 4"dt_lex.l"2248 #line 619 "dt_lex.l" 2244 2249 return (DT_TOK_ELLIPSIS); 2245 2250 YY_BREAK 2246 2251 case 145: 2247 2252 YY_RULE_SETUP 2248 #line 6 15"dt_lex.l"2253 #line 620 "dt_lex.l" 2249 2254 return (DT_TOK_COMMA); 2250 2255 YY_BREAK 2251 2256 case 146: 2252 2257 YY_RULE_SETUP 2253 #line 6 16"dt_lex.l"2258 #line 621 "dt_lex.l" 2254 2259 return (';'); 2255 2260 YY_BREAK 2256 2261 case 147: 2257 2262 YY_RULE_SETUP 2258 #line 6 17"dt_lex.l"2263 #line 622 "dt_lex.l" 2259 2264 ; /* discard */ 2260 2265 YY_BREAK 2261 2266 case 148: 2262 2267 YY_RULE_SETUP 2263 #line 6 18"dt_lex.l"2268 #line 623 "dt_lex.l" 2264 2269 ; /* discard */ 2265 2270 YY_BREAK 2266 2271 case 149: 2267 2272 YY_RULE_SETUP 2268 #line 6 19"dt_lex.l"2273 #line 624 "dt_lex.l" 2269 2274 yyerror("syntax error near \"%c\"\n", yytext[0]); 2270 2275 YY_BREAK 2271 2276 case 150: 2272 2277 YY_RULE_SETUP 2273 #line 62 1"dt_lex.l"2278 #line 626 "dt_lex.l" 2274 2279 yyerror("/* encountered inside a comment\n"); 2275 2280 YY_BREAK 2276 2281 case 151: 2277 2282 YY_RULE_SETUP 2278 #line 62 2"dt_lex.l"2283 #line 627 "dt_lex.l" 2279 2284 BEGIN(yypcb->pcb_cstate); 2280 2285 YY_BREAK 2281 2286 /* VBOX - START */ 2282 2287 case YY_STATE_EOF(S1): 2283 #line 62 4"dt_lex.l"2288 #line 629 "dt_lex.l" 2284 2289 yyerror("end-of-file encountered before matching */\n"); 2285 2290 YY_BREAK … … 2287 2292 case 152: 2288 2293 YY_RULE_SETUP 2289 #line 6 26"dt_lex.l"2294 #line 631 "dt_lex.l" 2290 2295 ; /* discard */ 2291 2296 YY_BREAK 2292 2297 case 153: 2293 2298 YY_RULE_SETUP 2294 #line 6 28"dt_lex.l"2299 #line 633 "dt_lex.l" 2295 2300 { 2296 2301 /* … … 2348 2353 case 154: 2349 2354 YY_RULE_SETUP 2350 #line 68 1"dt_lex.l"2355 #line 686 "dt_lex.l" 2351 2356 return (DT_TOK_DIV); 2352 2357 YY_BREAK 2353 2358 case 155: 2354 2359 YY_RULE_SETUP 2355 #line 68 2"dt_lex.l"2360 #line 687 "dt_lex.l" 2356 2361 return (DT_TOK_COMMA); 2357 2362 YY_BREAK 2358 2363 case 156: 2359 2364 YY_RULE_SETUP 2360 #line 68 4"dt_lex.l"2365 #line 689 "dt_lex.l" 2361 2366 ; /* discard */ 2362 2367 YY_BREAK 2363 2368 case 157: 2364 2369 YY_RULE_SETUP 2365 #line 6 85"dt_lex.l"2370 #line 690 "dt_lex.l" 2366 2371 yyerror("syntax error near \"%c\"\n", yytext[0]); 2367 2372 YY_BREAK 2368 2373 case 158: 2369 2374 YY_RULE_SETUP 2370 #line 6 87"dt_lex.l"2375 #line 692 "dt_lex.l" 2371 2376 { 2372 2377 dt_pragma(yypragma); … … 2377 2382 case 159: 2378 2383 YY_RULE_SETUP 2379 #line 69 3"dt_lex.l"2384 #line 698 "dt_lex.l" 2380 2385 ; /* discard */ 2381 2386 YY_BREAK 2382 2387 case 160: 2383 2388 YY_RULE_SETUP 2384 #line 695"dt_lex.l"2389 #line 700 "dt_lex.l" 2385 2390 { 2386 2391 dt_node_t *dnp; … … 2404 2409 /* VBOX - BEGIN */ 2405 2410 case YY_STATE_EOF(S3): 2406 #line 7 15"dt_lex.l"2411 #line 720 "dt_lex.l" 2407 2412 yyerror("end-of-file encountered before end of control line\n"); 2408 2413 YY_BREAK … … 2410 2415 case 161: 2411 2416 YY_RULE_SETUP 2412 #line 7 17"dt_lex.l"2417 #line 722 "dt_lex.l" 2413 2418 yyerror("syntax error near \"%c\"\n", yytext[0]); 2414 2419 YY_BREAK 2415 2420 case 162: 2416 2421 YY_RULE_SETUP 2417 #line 7 19"dt_lex.l"2422 #line 724 "dt_lex.l" 2418 2423 ECHO; 2419 2424 YY_BREAK 2420 #line 242 1"dt_lex.c"2425 #line 2426 "dt_lex.c" 2421 2426 case YY_STATE_EOF(INITIAL): 2422 2427 case YY_STATE_EOF(S0): … … 3307 3312 } 3308 3313 #endif 3309 #line 7 19"dt_lex.l"3314 #line 724 "dt_lex.l" 3310 3315 3311 3316
Note:
See TracChangeset
for help on using the changeset viewer.