VirtualBox

Ignore:
Timestamp:
Jan 27, 2015 10:01:58 PM (10 years ago)
Author:
vboxsync
Message:

windows build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ExtPacks/VBoxDTrace/generated/dt_lex.c

    r53983 r53986  
    989989#include <errno.h>
    990990#else  /* VBOX */
     991# ifdef RT_OS_WINDOWS /* No unistd.h on windows, avoid redef warnings of the [U]INTxx_MAX defines caused by no inttypes.h/stdint.h. */
     992#  define YY_NO_UNISTD_H
     993#  undef INT8_MAX
     994#  undef INT16_MAX
     995#  undef INT32_MAX
     996#  undef INT64_MAX
     997#  undef UINT8_MAX
     998#  undef UINT16_MAX
     999#  undef UINT32_MAX
     1000#  undef UINT64_MAX
     1001# endif
    9911002# include <iprt/ctype.h>
    9921003# define isdigit(a_ch) RT_C_IS_DIGIT(a_ch)
     
    10491060 */
    10501061
    1051 #line 1052 "dt_lex.c"
     1062#line 1063 "dt_lex.c"
    10521063
    10531064#define INITIAL 0
     
    12391250        register int yy_act;
    12401251   
    1241 #line 113 "dt_lex.l"
     1252#line 124 "dt_lex.l"
    12421253
    12431254
     
    12591270
    12601271
    1261 #line 1262 "dt_lex.c"
     1272#line 1273 "dt_lex.c"
    12621273
    12631274        if ( !(yy_init) )
     
    13881399case 1:
    13891400YY_RULE_SETUP
    1390 #line 132 "dt_lex.l"
     1401#line 143 "dt_lex.l"
    13911402return (DT_KEY_AUTO);
    13921403        YY_BREAK
    13931404case 2:
    13941405YY_RULE_SETUP
    1395 #line 133 "dt_lex.l"
     1406#line 144 "dt_lex.l"
    13961407return (DT_KEY_BREAK);
    13971408        YY_BREAK
    13981409case 3:
    13991410YY_RULE_SETUP
    1400 #line 134 "dt_lex.l"
     1411#line 145 "dt_lex.l"
    14011412return (DT_KEY_CASE);
    14021413        YY_BREAK
    14031414case 4:
    14041415YY_RULE_SETUP
    1405 #line 135 "dt_lex.l"
     1416#line 146 "dt_lex.l"
    14061417return (DT_KEY_CHAR);
    14071418        YY_BREAK
    14081419case 5:
    14091420YY_RULE_SETUP
    1410 #line 136 "dt_lex.l"
     1421#line 147 "dt_lex.l"
    14111422return (DT_KEY_CONST);
    14121423        YY_BREAK
    14131424case 6:
    14141425YY_RULE_SETUP
    1415 #line 137 "dt_lex.l"
     1426#line 148 "dt_lex.l"
    14161427return (DT_KEY_CONTINUE);
    14171428        YY_BREAK
    14181429case 7:
    14191430YY_RULE_SETUP
    1420 #line 138 "dt_lex.l"
     1431#line 149 "dt_lex.l"
    14211432return (DT_KEY_COUNTER);
    14221433        YY_BREAK
    14231434case 8:
    14241435YY_RULE_SETUP
    1425 #line 139 "dt_lex.l"
     1436#line 150 "dt_lex.l"
    14261437return (DT_KEY_DEFAULT);
    14271438        YY_BREAK
    14281439case 9:
    14291440YY_RULE_SETUP
    1430 #line 140 "dt_lex.l"
     1441#line 151 "dt_lex.l"
    14311442return (DT_KEY_DO);
    14321443        YY_BREAK
    14331444case 10:
    14341445YY_RULE_SETUP
    1435 #line 141 "dt_lex.l"
     1446#line 152 "dt_lex.l"
    14361447return (DT_KEY_DOUBLE);
    14371448        YY_BREAK
    14381449case 11:
    14391450YY_RULE_SETUP
    1440 #line 142 "dt_lex.l"
     1451#line 153 "dt_lex.l"
    14411452return (DT_KEY_ELSE);
    14421453        YY_BREAK
    14431454case 12:
    14441455YY_RULE_SETUP
    1445 #line 143 "dt_lex.l"
     1456#line 154 "dt_lex.l"
    14461457return (DT_KEY_ENUM);
    14471458        YY_BREAK
    14481459case 13:
    14491460YY_RULE_SETUP
    1450 #line 144 "dt_lex.l"
     1461#line 155 "dt_lex.l"
    14511462return (DT_KEY_EXTERN);
    14521463        YY_BREAK
    14531464case 14:
    14541465YY_RULE_SETUP
    1455 #line 145 "dt_lex.l"
     1466#line 156 "dt_lex.l"
    14561467return (DT_KEY_FLOAT);
    14571468        YY_BREAK
    14581469case 15:
    14591470YY_RULE_SETUP
    1460 #line 146 "dt_lex.l"
     1471#line 157 "dt_lex.l"
    14611472return (DT_KEY_FOR);
    14621473        YY_BREAK
    14631474case 16:
    14641475YY_RULE_SETUP
    1465 #line 147 "dt_lex.l"
     1476#line 158 "dt_lex.l"
    14661477return (DT_KEY_GOTO);
    14671478        YY_BREAK
    14681479case 17:
    14691480YY_RULE_SETUP
    1470 #line 148 "dt_lex.l"
     1481#line 159 "dt_lex.l"
    14711482return (DT_KEY_IF);
    14721483        YY_BREAK
    14731484case 18:
    14741485YY_RULE_SETUP
    1475 #line 149 "dt_lex.l"
     1486#line 160 "dt_lex.l"
    14761487return (DT_KEY_IMPORT);
    14771488        YY_BREAK
    14781489case 19:
    14791490YY_RULE_SETUP
    1480 #line 150 "dt_lex.l"
     1491#line 161 "dt_lex.l"
    14811492return (DT_KEY_INLINE);
    14821493        YY_BREAK
    14831494case 20:
    14841495YY_RULE_SETUP
    1485 #line 151 "dt_lex.l"
     1496#line 162 "dt_lex.l"
    14861497return (DT_KEY_INT);
    14871498        YY_BREAK
    14881499case 21:
    14891500YY_RULE_SETUP
    1490 #line 152 "dt_lex.l"
     1501#line 163 "dt_lex.l"
    14911502return (DT_KEY_LONG);
    14921503        YY_BREAK
    14931504case 22:
    14941505YY_RULE_SETUP
    1495 #line 153 "dt_lex.l"
     1506#line 164 "dt_lex.l"
    14961507return (DT_TOK_OFFSETOF);
    14971508        YY_BREAK
    14981509case 23:
    14991510YY_RULE_SETUP
    1500 #line 154 "dt_lex.l"
     1511#line 165 "dt_lex.l"
    15011512return (DT_KEY_PROBE);
    15021513        YY_BREAK
    15031514case 24:
    15041515YY_RULE_SETUP
    1505 #line 155 "dt_lex.l"
     1516#line 166 "dt_lex.l"
    15061517return (DT_KEY_PROVIDER);
    15071518        YY_BREAK
    15081519case 25:
    15091520YY_RULE_SETUP
    1510 #line 156 "dt_lex.l"
     1521#line 167 "dt_lex.l"
    15111522return (DT_KEY_REGISTER);
    15121523        YY_BREAK
    15131524case 26:
    15141525YY_RULE_SETUP
    1515 #line 157 "dt_lex.l"
     1526#line 168 "dt_lex.l"
    15161527return (DT_KEY_RESTRICT);
    15171528        YY_BREAK
    15181529case 27:
    15191530YY_RULE_SETUP
    1520 #line 158 "dt_lex.l"
     1531#line 169 "dt_lex.l"
    15211532return (DT_KEY_RETURN);
    15221533        YY_BREAK
    15231534case 28:
    15241535YY_RULE_SETUP
    1525 #line 159 "dt_lex.l"
     1536#line 170 "dt_lex.l"
    15261537return (DT_KEY_SELF);
    15271538        YY_BREAK
    15281539case 29:
    15291540YY_RULE_SETUP
    1530 #line 160 "dt_lex.l"
     1541#line 171 "dt_lex.l"
    15311542return (DT_KEY_SHORT);
    15321543        YY_BREAK
    15331544case 30:
    15341545YY_RULE_SETUP
    1535 #line 161 "dt_lex.l"
     1546#line 172 "dt_lex.l"
    15361547return (DT_KEY_SIGNED);
    15371548        YY_BREAK
    15381549case 31:
    15391550YY_RULE_SETUP
    1540 #line 162 "dt_lex.l"
     1551#line 173 "dt_lex.l"
    15411552return (DT_TOK_SIZEOF);
    15421553        YY_BREAK
    15431554case 32:
    15441555YY_RULE_SETUP
    1545 #line 163 "dt_lex.l"
     1556#line 174 "dt_lex.l"
    15461557return (DT_KEY_STATIC);
    15471558        YY_BREAK
    15481559case 33:
    15491560YY_RULE_SETUP
    1550 #line 164 "dt_lex.l"
     1561#line 175 "dt_lex.l"
    15511562return (DT_KEY_STRING);
    15521563        YY_BREAK
    15531564case 34:
    15541565YY_RULE_SETUP
    1555 #line 165 "dt_lex.l"
     1566#line 176 "dt_lex.l"
    15561567return (DT_TOK_STRINGOF);
    15571568        YY_BREAK
    15581569case 35:
    15591570YY_RULE_SETUP
    1560 #line 166 "dt_lex.l"
     1571#line 177 "dt_lex.l"
    15611572return (DT_KEY_STRUCT);
    15621573        YY_BREAK
    15631574case 36:
    15641575YY_RULE_SETUP
    1565 #line 167 "dt_lex.l"
     1576#line 178 "dt_lex.l"
    15661577return (DT_KEY_SWITCH);
    15671578        YY_BREAK
    15681579case 37:
    15691580YY_RULE_SETUP
    1570 #line 168 "dt_lex.l"
     1581#line 179 "dt_lex.l"
    15711582return (DT_KEY_THIS);
    15721583        YY_BREAK
    15731584case 38:
    15741585YY_RULE_SETUP
    1575 #line 169 "dt_lex.l"
     1586#line 180 "dt_lex.l"
    15761587return (DT_KEY_XLATOR);
    15771588        YY_BREAK
    15781589case 39:
    15791590YY_RULE_SETUP
    1580 #line 170 "dt_lex.l"
     1591#line 181 "dt_lex.l"
    15811592return (DT_KEY_TYPEDEF);
    15821593        YY_BREAK
    15831594case 40:
    15841595YY_RULE_SETUP
    1585 #line 171 "dt_lex.l"
     1596#line 182 "dt_lex.l"
    15861597return (DT_KEY_UNION);
    15871598        YY_BREAK
    15881599case 41:
    15891600YY_RULE_SETUP
    1590 #line 172 "dt_lex.l"
     1601#line 183 "dt_lex.l"
    15911602return (DT_KEY_UNSIGNED);
    15921603        YY_BREAK
    15931604case 42:
    15941605YY_RULE_SETUP
    1595 #line 173 "dt_lex.l"
     1606#line 184 "dt_lex.l"
    15961607return (DT_KEY_VOID);
    15971608        YY_BREAK
    15981609case 43:
    15991610YY_RULE_SETUP
    1600 #line 174 "dt_lex.l"
     1611#line 185 "dt_lex.l"
    16011612return (DT_KEY_VOLATILE);
    16021613        YY_BREAK
    16031614case 44:
    16041615YY_RULE_SETUP
    1605 #line 175 "dt_lex.l"
     1616#line 186 "dt_lex.l"
    16061617return (DT_KEY_WHILE);
    16071618        YY_BREAK
    16081619case 45:
    16091620YY_RULE_SETUP
    1610 #line 176 "dt_lex.l"
     1621#line 187 "dt_lex.l"
    16111622return (DT_TOK_XLATE);
    16121623        YY_BREAK
    16131624case 46:
    16141625YY_RULE_SETUP
    1615 #line 178 "dt_lex.l"
     1626#line 189 "dt_lex.l"
    16161627{ yybegin(YYS_EXPR);    return (DT_KEY_AUTO); }
    16171628        YY_BREAK
    16181629case 47:
    16191630YY_RULE_SETUP
    1620 #line 179 "dt_lex.l"
     1631#line 190 "dt_lex.l"
    16211632{ yybegin(YYS_EXPR);    return (DT_KEY_CHAR); }
    16221633        YY_BREAK
    16231634case 48:
    16241635YY_RULE_SETUP
    1625 #line 180 "dt_lex.l"
     1636#line 191 "dt_lex.l"
    16261637{ yybegin(YYS_EXPR);    return (DT_KEY_CONST); }
    16271638        YY_BREAK
    16281639case 49:
    16291640YY_RULE_SETUP
    1630 #line 181 "dt_lex.l"
     1641#line 192 "dt_lex.l"
    16311642{ yybegin(YYS_DEFINE);  return (DT_KEY_COUNTER); }
    16321643        YY_BREAK
    16331644case 50:
    16341645YY_RULE_SETUP
    1635 #line 182 "dt_lex.l"
     1646#line 193 "dt_lex.l"
    16361647{ yybegin(YYS_EXPR);    return (DT_KEY_DOUBLE); }
    16371648        YY_BREAK
    16381649case 51:
    16391650YY_RULE_SETUP
    1640 #line 183 "dt_lex.l"
     1651#line 194 "dt_lex.l"
    16411652{ yybegin(YYS_EXPR);    return (DT_KEY_ENUM); }
    16421653        YY_BREAK
    16431654case 52:
    16441655YY_RULE_SETUP
    1645 #line 184 "dt_lex.l"
     1656#line 195 "dt_lex.l"
    16461657{ yybegin(YYS_EXPR);    return (DT_KEY_EXTERN); }
    16471658        YY_BREAK
    16481659case 53:
    16491660YY_RULE_SETUP
    1650 #line 185 "dt_lex.l"
     1661#line 196 "dt_lex.l"
    16511662{ yybegin(YYS_EXPR);    return (DT_KEY_FLOAT); }
    16521663        YY_BREAK
    16531664case 54:
    16541665YY_RULE_SETUP
    1655 #line 186 "dt_lex.l"
     1666#line 197 "dt_lex.l"
    16561667{ yybegin(YYS_EXPR);    return (DT_KEY_IMPORT); }
    16571668        YY_BREAK
    16581669case 55:
    16591670YY_RULE_SETUP
    1660 #line 187 "dt_lex.l"
     1671#line 198 "dt_lex.l"
    16611672{ yybegin(YYS_DEFINE);  return (DT_KEY_INLINE); }
    16621673        YY_BREAK
    16631674case 56:
    16641675YY_RULE_SETUP
    1665 #line 188 "dt_lex.l"
     1676#line 199 "dt_lex.l"
    16661677{ yybegin(YYS_EXPR);    return (DT_KEY_INT); }
    16671678        YY_BREAK
    16681679case 57:
    16691680YY_RULE_SETUP
    1670 #line 189 "dt_lex.l"
     1681#line 200 "dt_lex.l"
    16711682{ yybegin(YYS_EXPR);    return (DT_KEY_LONG); }
    16721683        YY_BREAK
    16731684case 58:
    16741685YY_RULE_SETUP
    1675 #line 190 "dt_lex.l"
     1686#line 201 "dt_lex.l"
    16761687{ yybegin(YYS_DEFINE);  return (DT_KEY_PROVIDER); }
    16771688        YY_BREAK
    16781689case 59:
    16791690YY_RULE_SETUP
    1680 #line 191 "dt_lex.l"
     1691#line 202 "dt_lex.l"
    16811692{ yybegin(YYS_EXPR);    return (DT_KEY_REGISTER); }
    16821693        YY_BREAK
    16831694case 60:
    16841695YY_RULE_SETUP
    1685 #line 192 "dt_lex.l"
     1696#line 203 "dt_lex.l"
    16861697{ yybegin(YYS_EXPR);    return (DT_KEY_RESTRICT); }
    16871698        YY_BREAK
    16881699case 61:
    16891700YY_RULE_SETUP
    1690 #line 193 "dt_lex.l"
     1701#line 204 "dt_lex.l"
    16911702{ yybegin(YYS_EXPR);    return (DT_KEY_SELF); }
    16921703        YY_BREAK
    16931704case 62:
    16941705YY_RULE_SETUP
    1695 #line 194 "dt_lex.l"
     1706#line 205 "dt_lex.l"
    16961707{ yybegin(YYS_EXPR);    return (DT_KEY_SHORT); }
    16971708        YY_BREAK
    16981709case 63:
    16991710YY_RULE_SETUP
    1700 #line 195 "dt_lex.l"
     1711#line 206 "dt_lex.l"
    17011712{ yybegin(YYS_EXPR);    return (DT_KEY_SIGNED); }
    17021713        YY_BREAK
    17031714case 64:
    17041715YY_RULE_SETUP
    1705 #line 196 "dt_lex.l"
     1716#line 207 "dt_lex.l"
    17061717{ yybegin(YYS_EXPR);    return (DT_KEY_STATIC); }
    17071718        YY_BREAK
    17081719case 65:
    17091720YY_RULE_SETUP
    1710 #line 197 "dt_lex.l"
     1721#line 208 "dt_lex.l"
    17111722{ yybegin(YYS_EXPR);    return (DT_KEY_STRING); }
    17121723        YY_BREAK
    17131724case 66:
    17141725YY_RULE_SETUP
    1715 #line 198 "dt_lex.l"
     1726#line 209 "dt_lex.l"
    17161727{ yybegin(YYS_EXPR);    return (DT_KEY_STRUCT); }
    17171728        YY_BREAK
    17181729case 67:
    17191730YY_RULE_SETUP
    1720 #line 199 "dt_lex.l"
     1731#line 210 "dt_lex.l"
    17211732{ yybegin(YYS_EXPR);    return (DT_KEY_THIS); }
    17221733        YY_BREAK
    17231734case 68:
    17241735YY_RULE_SETUP
    1725 #line 200 "dt_lex.l"
     1736#line 211 "dt_lex.l"
    17261737{ yybegin(YYS_DEFINE);  return (DT_KEY_XLATOR); }
    17271738        YY_BREAK
    17281739case 69:
    17291740YY_RULE_SETUP
    1730 #line 201 "dt_lex.l"
     1741#line 212 "dt_lex.l"
    17311742{ yybegin(YYS_EXPR);    return (DT_KEY_TYPEDEF); }
    17321743        YY_BREAK
    17331744case 70:
    17341745YY_RULE_SETUP
    1735 #line 202 "dt_lex.l"
     1746#line 213 "dt_lex.l"
    17361747{ yybegin(YYS_EXPR);    return (DT_KEY_UNION); }
    17371748        YY_BREAK
    17381749case 71:
    17391750YY_RULE_SETUP
    1740 #line 203 "dt_lex.l"
     1751#line 214 "dt_lex.l"
    17411752{ yybegin(YYS_EXPR);    return (DT_KEY_UNSIGNED); }
    17421753        YY_BREAK
    17431754case 72:
    17441755YY_RULE_SETUP
    1745 #line 204 "dt_lex.l"
     1756#line 215 "dt_lex.l"
    17461757{ yybegin(YYS_EXPR);    return (DT_KEY_VOID); }
    17471758        YY_BREAK
    17481759case 73:
    17491760YY_RULE_SETUP
    1750 #line 205 "dt_lex.l"
     1761#line 216 "dt_lex.l"
    17511762{ yybegin(YYS_EXPR);    return (DT_KEY_VOLATILE); }
    17521763        YY_BREAK
    17531764case 74:
    17541765YY_RULE_SETUP
    1755 #line 207 "dt_lex.l"
     1766#line 218 "dt_lex.l"
    17561767{
    17571768                        int i = atoi(yytext + 2);
     
    17861797case 75:
    17871798YY_RULE_SETUP
    1788 #line 237 "dt_lex.l"
     1799#line 248 "dt_lex.l"
    17891800{
    17901801                        int i = atoi(yytext + 1);
     
    18701881case 76:
    18711882YY_RULE_SETUP
    1872 #line 318 "dt_lex.l"
     1883#line 329 "dt_lex.l"
    18731884{
    18741885                        dt_ident_t *idp = dt_idhash_lookup(
     
    18951906case 77:
    18961907YY_RULE_SETUP
    1897 #line 340 "dt_lex.l"
     1908#line 351 "dt_lex.l"
    18981909{
    18991910                        dt_ident_t *idp = dt_idhash_lookup(
     
    19191930case 78:
    19201931YY_RULE_SETUP
    1921 #line 361 "dt_lex.l"
     1932#line 372 "dt_lex.l"
    19221933{
    19231934                        return (id_or_type(yytext));
     
    19261937case 79:
    19271938YY_RULE_SETUP
    1928 #line 365 "dt_lex.l"
     1939#line 376 "dt_lex.l"
    19291940{
    19301941                        if ((yylval.l_str = strdup(yytext)) == NULL)
     
    19351946case 80:
    19361947YY_RULE_SETUP
    1937 #line 371 "dt_lex.l"
     1948#line 382 "dt_lex.l"
    19381949{
    19391950                        if ((yylval.l_str = strdup("@_")) == NULL)
     
    19431954        YY_BREAK
    19441955case 81:
    1945 #line 378 "dt_lex.l"
     1956#line 389 "dt_lex.l"
    19461957case 82:
    1947 #line 379 "dt_lex.l"
     1958#line 390 "dt_lex.l"
    19481959case 83:
    19491960YY_RULE_SETUP
    1950 #line 379 "dt_lex.l"
     1961#line 390 "dt_lex.l"
    19511962{
    19521963                        char *p;
     
    19841995case 84:
    19851996YY_RULE_SETUP
    1986 #line 412 "dt_lex.l"
     1997#line 423 "dt_lex.l"
    19871998yyerror("floating-point constants are not permitted\n");
    19881999        YY_BREAK
     
    19932004case 85:
    19942005YY_RULE_SETUP
    1995 #line 418 "dt_lex.l"
     2006#line 429 "dt_lex.l"
    19962007xyerror(D_STR_NL, "newline encountered in string literal");
    19972008        YY_BREAK
    19982009case 86:
    1999 #line 421 "dt_lex.l"
     2010#line 432 "dt_lex.l"
    20002011case 87:
    20012012YY_RULE_SETUP
    2002 #line 421 "dt_lex.l"
     2013#line 432 "dt_lex.l"
    20032014{
    20042015                        /*
     
    20212032case 88:
    20222033YY_RULE_SETUP
    2023 #line 439 "dt_lex.l"
     2034#line 450 "dt_lex.l"
    20242035xyerror(D_CHR_NL, "newline encountered in character constant");
    20252036        YY_BREAK
    20262037case 89:
    20272038YY_RULE_SETUP
    2028 #line 441 "dt_lex.l"
     2039#line 452 "dt_lex.l"
    20292040{
    20302041                        char *s, *p, *q;
     
    20622073        YY_BREAK
    20632074case 90:
    2064 #line 476 "dt_lex.l"
     2075#line 487 "dt_lex.l"
    20652076case 91:
    20662077YY_RULE_SETUP
    2067 #line 476 "dt_lex.l"
     2078#line 487 "dt_lex.l"
    20682079{
    20692080                        yypcb->pcb_cstate = (YYSTATE);
     
    20722083        YY_BREAK
    20732084case 92:
    2074 #line 482 "dt_lex.l"
     2085#line 493 "dt_lex.l"
    20752086case 93:
    20762087YY_RULE_SETUP
    2077 #line 482 "dt_lex.l"
     2088#line 493 "dt_lex.l"
    20782089;       /* discard any #! lines */
    20792090        YY_BREAK
    20802091case 94:
    2081 #line 485 "dt_lex.l"
     2092#line 496 "dt_lex.l"
    20822093case 95:
    2083 #line 486 "dt_lex.l"
     2094#line 497 "dt_lex.l"
    20842095case 96:
    20852096YY_RULE_SETUP
    2086 #line 486 "dt_lex.l"
     2097#line 497 "dt_lex.l"
    20872098{
    20882099                        assert(yypragma == NULL);
     
    20932104case 97:
    20942105YY_RULE_SETUP
    2095 #line 492 "dt_lex.l"
     2106#line 503 "dt_lex.l"
    20962107;       /* discard */
    20972108        YY_BREAK
     
    20992110/* rule 98 can match eol */
    21002111YY_RULE_SETUP
    2101 #line 493 "dt_lex.l"
     2112#line 504 "dt_lex.l"
    21022113;       /* discard */
    21032114        YY_BREAK
    21042115case 99:
    21052116YY_RULE_SETUP
    2106 #line 495 "dt_lex.l"
     2117#line 506 "dt_lex.l"
    21072118{
    21082119                        int c, tok;
     
    21412152case 100:
    21422153YY_RULE_SETUP
    2143 #line 529 "dt_lex.l"
     2154#line 540 "dt_lex.l"
    21442155{
    21452156                        yypcb->pcb_parens++;
     
    21492160case 101:
    21502161YY_RULE_SETUP
    2151 #line 534 "dt_lex.l"
     2162#line 545 "dt_lex.l"
    21522163{
    21532164                        if (--yypcb->pcb_parens < 0)
     
    21582169case 102:
    21592170YY_RULE_SETUP
    2160 #line 540 "dt_lex.l"
     2171#line 551 "dt_lex.l"
    21612172{
    21622173                        yypcb->pcb_brackets++;
     
    21662177case 103:
    21672178YY_RULE_SETUP
    2168 #line 545 "dt_lex.l"
     2179#line 556 "dt_lex.l"
    21692180{
    21702181                        if (--yypcb->pcb_brackets < 0)
     
    21742185        YY_BREAK
    21752186case 104:
    2176 #line 552 "dt_lex.l"
     2187#line 563 "dt_lex.l"
    21772188case 105:
    21782189YY_RULE_SETUP
    2179 #line 552 "dt_lex.l"
     2190#line 563 "dt_lex.l"
    21802191{
    21812192                        yypcb->pcb_braces++;
     
    21852196case 106:
    21862197YY_RULE_SETUP
    2187 #line 557 "dt_lex.l"
     2198#line 568 "dt_lex.l"
    21882199{
    21892200                        if (--yypcb->pcb_braces < 0)
     
    21942205case 107:
    21952206YY_RULE_SETUP
    2196 #line 563 "dt_lex.l"
     2207#line 574 "dt_lex.l"
    21972208return (DT_TOK_BOR);
    21982209        YY_BREAK
    21992210case 108:
    22002211YY_RULE_SETUP
    2201 #line 564 "dt_lex.l"
     2212#line 575 "dt_lex.l"
    22022213return (DT_TOK_XOR);
    22032214        YY_BREAK
    22042215case 109:
    22052216YY_RULE_SETUP
    2206 #line 565 "dt_lex.l"
     2217#line 576 "dt_lex.l"
    22072218return (DT_TOK_BAND);
    22082219        YY_BREAK
    22092220case 110:
    22102221YY_RULE_SETUP
    2211 #line 566 "dt_lex.l"
     2222#line 577 "dt_lex.l"
    22122223return (DT_TOK_LAND);
    22132224        YY_BREAK
    22142225case 111:
    22152226YY_RULE_SETUP
    2216 #line 567 "dt_lex.l"
     2227#line 578 "dt_lex.l"
    22172228return (DT_TOK_LXOR);
    22182229        YY_BREAK
    22192230case 112:
    22202231YY_RULE_SETUP
    2221 #line 568 "dt_lex.l"
     2232#line 579 "dt_lex.l"
    22222233return (DT_TOK_LOR);
    22232234        YY_BREAK
    22242235case 113:
    22252236YY_RULE_SETUP
    2226 #line 569 "dt_lex.l"
     2237#line 580 "dt_lex.l"
    22272238return (DT_TOK_EQU);
    22282239        YY_BREAK
    22292240case 114:
    22302241YY_RULE_SETUP
    2231 #line 570 "dt_lex.l"
     2242#line 581 "dt_lex.l"
    22322243return (DT_TOK_NEQ);
    22332244        YY_BREAK
    22342245case 115:
    22352246YY_RULE_SETUP
    2236 #line 571 "dt_lex.l"
     2247#line 582 "dt_lex.l"
    22372248return (DT_TOK_LT);
    22382249        YY_BREAK
    22392250case 116:
    22402251YY_RULE_SETUP
    2241 #line 572 "dt_lex.l"
     2252#line 583 "dt_lex.l"
    22422253return (DT_TOK_LE);
    22432254        YY_BREAK
    22442255case 117:
    22452256YY_RULE_SETUP
    2246 #line 573 "dt_lex.l"
     2257#line 584 "dt_lex.l"
    22472258return (DT_TOK_GT);
    22482259        YY_BREAK
    22492260case 118:
    22502261YY_RULE_SETUP
    2251 #line 574 "dt_lex.l"
     2262#line 585 "dt_lex.l"
    22522263return (DT_TOK_GE);
    22532264        YY_BREAK
    22542265case 119:
    22552266YY_RULE_SETUP
    2256 #line 575 "dt_lex.l"
     2267#line 586 "dt_lex.l"
    22572268return (DT_TOK_LSH);
    22582269        YY_BREAK
    22592270case 120:
    22602271YY_RULE_SETUP
    2261 #line 576 "dt_lex.l"
     2272#line 587 "dt_lex.l"
    22622273return (DT_TOK_RSH);
    22632274        YY_BREAK
    22642275case 121:
    22652276YY_RULE_SETUP
    2266 #line 577 "dt_lex.l"
     2277#line 588 "dt_lex.l"
    22672278return (DT_TOK_ADD);
    22682279        YY_BREAK
    22692280case 122:
    22702281YY_RULE_SETUP
    2271 #line 578 "dt_lex.l"
     2282#line 589 "dt_lex.l"
    22722283return (DT_TOK_SUB);
    22732284        YY_BREAK
    22742285case 123:
    22752286YY_RULE_SETUP
    2276 #line 579 "dt_lex.l"
     2287#line 590 "dt_lex.l"
    22772288return (DT_TOK_MUL);
    22782289        YY_BREAK
    22792290case 124:
    22802291YY_RULE_SETUP
    2281 #line 580 "dt_lex.l"
     2292#line 591 "dt_lex.l"
    22822293return (DT_TOK_MOD);
    22832294        YY_BREAK
    22842295case 125:
    22852296YY_RULE_SETUP
    2286 #line 581 "dt_lex.l"
     2297#line 592 "dt_lex.l"
    22872298return (DT_TOK_BNEG);
    22882299        YY_BREAK
    22892300case 126:
    22902301YY_RULE_SETUP
    2291 #line 582 "dt_lex.l"
     2302#line 593 "dt_lex.l"
    22922303return (DT_TOK_LNEG);
    22932304        YY_BREAK
    22942305case 127:
    22952306YY_RULE_SETUP
    2296 #line 583 "dt_lex.l"
     2307#line 594 "dt_lex.l"
    22972308return (DT_TOK_QUESTION);
    22982309        YY_BREAK
    22992310case 128:
    23002311YY_RULE_SETUP
    2301 #line 584 "dt_lex.l"
     2312#line 595 "dt_lex.l"
    23022313return (DT_TOK_COLON);
    23032314        YY_BREAK
    23042315case 129:
    23052316YY_RULE_SETUP
    2306 #line 585 "dt_lex.l"
     2317#line 596 "dt_lex.l"
    23072318return (DT_TOK_DOT);
    23082319        YY_BREAK
    23092320case 130:
    23102321YY_RULE_SETUP
    2311 #line 586 "dt_lex.l"
     2322#line 597 "dt_lex.l"
    23122323return (DT_TOK_PTR);
    23132324        YY_BREAK
    23142325case 131:
    23152326YY_RULE_SETUP
    2316 #line 587 "dt_lex.l"
     2327#line 598 "dt_lex.l"
    23172328return (DT_TOK_ASGN);
    23182329        YY_BREAK
    23192330case 132:
    23202331YY_RULE_SETUP
    2321 #line 588 "dt_lex.l"
     2332#line 599 "dt_lex.l"
    23222333return (DT_TOK_ADD_EQ);
    23232334        YY_BREAK
    23242335case 133:
    23252336YY_RULE_SETUP
    2326 #line 589 "dt_lex.l"
     2337#line 600 "dt_lex.l"
    23272338return (DT_TOK_SUB_EQ);
    23282339        YY_BREAK
    23292340case 134:
    23302341YY_RULE_SETUP
    2331 #line 590 "dt_lex.l"
     2342#line 601 "dt_lex.l"
    23322343return (DT_TOK_MUL_EQ);
    23332344        YY_BREAK
    23342345case 135:
    23352346YY_RULE_SETUP
    2336 #line 591 "dt_lex.l"
     2347#line 602 "dt_lex.l"
    23372348return (DT_TOK_DIV_EQ);
    23382349        YY_BREAK
    23392350case 136:
    23402351YY_RULE_SETUP
    2341 #line 592 "dt_lex.l"
     2352#line 603 "dt_lex.l"
    23422353return (DT_TOK_MOD_EQ);
    23432354        YY_BREAK
    23442355case 137:
    23452356YY_RULE_SETUP
    2346 #line 593 "dt_lex.l"
     2357#line 604 "dt_lex.l"
    23472358return (DT_TOK_AND_EQ);
    23482359        YY_BREAK
    23492360case 138:
    23502361YY_RULE_SETUP
    2351 #line 594 "dt_lex.l"
     2362#line 605 "dt_lex.l"
    23522363return (DT_TOK_XOR_EQ);
    23532364        YY_BREAK
    23542365case 139:
    23552366YY_RULE_SETUP
    2356 #line 595 "dt_lex.l"
     2367#line 606 "dt_lex.l"
    23572368return (DT_TOK_OR_EQ);
    23582369        YY_BREAK
    23592370case 140:
    23602371YY_RULE_SETUP
    2361 #line 596 "dt_lex.l"
     2372#line 607 "dt_lex.l"
    23622373return (DT_TOK_LSH_EQ);
    23632374        YY_BREAK
    23642375case 141:
    23652376YY_RULE_SETUP
    2366 #line 597 "dt_lex.l"
     2377#line 608 "dt_lex.l"
    23672378return (DT_TOK_RSH_EQ);
    23682379        YY_BREAK
    23692380case 142:
    23702381YY_RULE_SETUP
    2371 #line 598 "dt_lex.l"
     2382#line 609 "dt_lex.l"
    23722383return (DT_TOK_ADDADD);
    23732384        YY_BREAK
    23742385case 143:
    23752386YY_RULE_SETUP
    2376 #line 599 "dt_lex.l"
     2387#line 610 "dt_lex.l"
    23772388return (DT_TOK_SUBSUB);
    23782389        YY_BREAK
    23792390case 144:
    23802391YY_RULE_SETUP
    2381 #line 600 "dt_lex.l"
     2392#line 611 "dt_lex.l"
    23822393return (DT_TOK_ELLIPSIS);
    23832394        YY_BREAK
    23842395case 145:
    23852396YY_RULE_SETUP
    2386 #line 601 "dt_lex.l"
     2397#line 612 "dt_lex.l"
    23872398return (DT_TOK_COMMA);
    23882399        YY_BREAK
    23892400case 146:
    23902401YY_RULE_SETUP
    2391 #line 602 "dt_lex.l"
     2402#line 613 "dt_lex.l"
    23922403return (';');
    23932404        YY_BREAK
     
    23952406/* rule 147 can match eol */
    23962407YY_RULE_SETUP
    2397 #line 603 "dt_lex.l"
     2408#line 614 "dt_lex.l"
    23982409; /* discard */
    23992410        YY_BREAK
     
    24012412/* rule 148 can match eol */
    24022413YY_RULE_SETUP
    2403 #line 604 "dt_lex.l"
     2414#line 615 "dt_lex.l"
    24042415; /* discard */
    24052416        YY_BREAK
    24062417case 149:
    24072418YY_RULE_SETUP
    2408 #line 605 "dt_lex.l"
     2419#line 616 "dt_lex.l"
    24092420yyerror("syntax error near \"%c\"\n", yytext[0]);
    24102421        YY_BREAK
    24112422case 150:
    24122423YY_RULE_SETUP
    2413 #line 607 "dt_lex.l"
     2424#line 618 "dt_lex.l"
    24142425yyerror("/* encountered inside a comment\n");
    24152426        YY_BREAK
    24162427case 151:
    24172428YY_RULE_SETUP
    2418 #line 608 "dt_lex.l"
     2429#line 619 "dt_lex.l"
    24192430BEGIN(yypcb->pcb_cstate);
    24202431        YY_BREAK
    24212432/* VBOX - START */
    24222433case YY_STATE_EOF(S1):
    2423 #line 610 "dt_lex.l"
     2434#line 621 "dt_lex.l"
    24242435yyerror("end-of-file encountered before matching */\n");
    24252436        YY_BREAK
     
    24282439/* rule 152 can match eol */
    24292440YY_RULE_SETUP
    2430 #line 612 "dt_lex.l"
     2441#line 623 "dt_lex.l"
    24312442; /* discard */
    24322443        YY_BREAK
    24332444case 153:
    24342445YY_RULE_SETUP
    2435 #line 614 "dt_lex.l"
     2446#line 625 "dt_lex.l"
    24362447{
    24372448                        /*
     
    24892500case 154:
    24902501YY_RULE_SETUP
    2491 #line 667 "dt_lex.l"
     2502#line 678 "dt_lex.l"
    24922503return (DT_TOK_DIV);
    24932504        YY_BREAK
    24942505case 155:
    24952506YY_RULE_SETUP
    2496 #line 668 "dt_lex.l"
     2507#line 679 "dt_lex.l"
    24972508return (DT_TOK_COMMA);
    24982509        YY_BREAK
     
    25002511/* rule 156 can match eol */
    25012512YY_RULE_SETUP
    2502 #line 670 "dt_lex.l"
     2513#line 681 "dt_lex.l"
    25032514; /* discard */
    25042515        YY_BREAK
    25052516case 157:
    25062517YY_RULE_SETUP
    2507 #line 671 "dt_lex.l"
     2518#line 682 "dt_lex.l"
    25082519yyerror("syntax error near \"%c\"\n", yytext[0]);
    25092520        YY_BREAK
     
    25112522/* rule 158 can match eol */
    25122523YY_RULE_SETUP
    2513 #line 673 "dt_lex.l"
     2524#line 684 "dt_lex.l"
    25142525{
    25152526                        dt_pragma(yypragma);
     
    25202531case 159:
    25212532YY_RULE_SETUP
    2522 #line 679 "dt_lex.l"
     2533#line 690 "dt_lex.l"
    25232534; /* discard */
    25242535        YY_BREAK
    25252536case 160:
    25262537YY_RULE_SETUP
    2527 #line 681 "dt_lex.l"
     2538#line 692 "dt_lex.l"
    25282539{
    25292540                        dt_node_t *dnp;
     
    25472558/* VBOX - BEGIN */
    25482559case YY_STATE_EOF(S3):
    2549 #line 701 "dt_lex.l"
     2560#line 712 "dt_lex.l"
    25502561yyerror("end-of-file encountered before end of control line\n");
    25512562        YY_BREAK
     
    25532564case 161:
    25542565YY_RULE_SETUP
    2555 #line 703 "dt_lex.l"
     2566#line 714 "dt_lex.l"
    25562567yyerror("syntax error near \"%c\"\n", yytext[0]);
    25572568        YY_BREAK
    25582569case 162:
    25592570YY_RULE_SETUP
    2560 #line 705 "dt_lex.l"
     2571#line 716 "dt_lex.l"
    25612572ECHO;
    25622573        YY_BREAK
    2563 #line 2564 "dt_lex.c"
     2574#line 2575 "dt_lex.c"
    25642575                        case YY_STATE_EOF(INITIAL):
    25652576                        case YY_STATE_EOF(S0):
     
    35493560#define YYTABLES_NAME "yytables"
    35503561
    3551 #line 705 "dt_lex.l"
     3562#line 716 "dt_lex.l"
    35523563
    35533564
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette