]> andersk Git - splint.git/blobdiff - src/Headers/cgrammar_tokens.h
Added cgrammar_tokens.h
[splint.git] / src / Headers / cgrammar_tokens.h
index a8fec69077472310ec4f30fd5fe54ee6f5c5c871..5b35185c8e3bfe14f6e6389eedb3014ad79a767b 100644 (file)
 /*@-dependenttrans@*/
 /*@-unqualifiedtrans@*/
 /*@-nullassign@*/
+/*@-nullpass@*/
+/*@-nullptrarith*/
+/*@-usereleased@*/
+/*@-declundef@*/
 
+/*drl added 11/27/2001*/
+/*@-bounds@*/
 /* < end of bison.head > */
 
 typedef union
 {
- lltok tok;
- int count;
- specialClauseKind sck;
- qual typequal;
- qualList tquallist;
- ctype ctyp;
- sRef sr;
- /*@only@*/ qtype qtyp;
- /*@only@*/ cstring cname;
- /*@only@*/ idDecl ntyp;
- /*@only@*/ idDeclList ntyplist;
- /*@only@*/ uentryList flist;
- /*@owned@*/ uentryList entrylist;
- /*@observer@*/ /*@dependent@*/ uentry entry;
- /*@only@*/ uentry oentry;
- /*@only@*/ exprNode expr;
- /*@only@*/ enumNameList enumnamelist;
- /*@only@*/ exprNodeList alist;
- /*@only@*/ sRefSet srset; 
- /*@only@*/ cstringList cstringlist;
+  lltok tok;
+  int count;
+  qual typequal;
+  qualList tquallist;
+  ctype ctyp;
+  /*@dependent@*/ sRef sr;
+  /*@only@*/ sRef osr;
+
+  /*@only@*/ functionClauseList funcclauselist;
+  /*@only@*/ functionClause funcclause;  
+  /*@only@*/ flagSpec flagspec;
+  /*@only@*/ globalsClause globsclause;
+  /*@only@*/ modifiesClause modsclause;
+  /*@only@*/ warnClause warnclause;
+  /*@only@*/ stateClause stateclause;
+
+  /*@only@*/ functionConstraint fcnconstraint; 
+
+  /*@only@*/ metaStateConstraint msconstraint;
+  /*@only@*/ metaStateSpecifier msspec;
+  /*@only@*/ metaStateExpression msexpr;
+  /*@observer@*/ metaStateInfo msinfo;
+
+  /*@only@*/ sRefList srlist;
+  /*@only@*/ globSet globset;
+  /*@only@*/ qtype qtyp;
+  /*@only@*/ cstring cname;
+  /*@observer@*/ annotationInfo annotation;
+  /*@only@*/ idDecl ntyp;
+  /*@only@*/ idDeclList ntyplist;
+  /*@only@*/ uentryList flist;
+  /*@owned@*/ uentryList entrylist;
+  /*@observer@*/ /*@dependent@*/ uentry entry;
+  /*@only@*/ uentry oentry;
+  /*@only@*/ exprNode expr;
+  /*@only@*/ enumNameList enumnamelist;
+  /*@only@*/ exprNodeList exprlist;
+  /*@only@*/ sRefSet srset; 
+  /*@only@*/ cstringList cstringlist;
+
+  /*drl
+    added 1/19/2001
+  */
+  constraint con;
+  constraintList conL;
+  constraintExpr conE;
+  /* drl */  
 } YYSTYPE;
-#define        BADTOK  258
-#define        SKIPTOK 259
-#define        CTOK_ELIPSIS    260
-#define        CASE    261
-#define        DEFAULT 262
-#define        CIF     263
-#define        CELSE   264
-#define        SWITCH  265
-#define        WHILE   266
-#define        DO      267
-#define        CFOR    268
-#define        GOTO    269
-#define        CONTINUE        270
-#define        BREAK   271
-#define        RETURN  272
-#define        TSEMI   273
-#define        TLBRACE 274
-#define        TRBRACE 275
-#define        TCOMMA  276
-#define        TCOLON  277
-#define        TASSIGN 278
-#define        TLPAREN 279
-#define        TRPAREN 280
-#define        TLSQBR  281
-#define        TRSQBR  282
-#define        TDOT    283
-#define        TAMPERSAND      284
-#define        TEXCL   285
-#define        TTILDE  286
-#define        TMINUS  287
-#define        TPLUS   288
-#define        TMULT   289
-#define        TDIV    290
-#define        TPERCENT        291
-#define        TLT     292
-#define        TGT     293
-#define        TCIRC   294
-#define        TBAR    295
-#define        TQUEST  296
-#define        CSIZEOF 297
-#define        CALIGNOF        298
+#define        BADTOK  257
+#define        SKIPTOK 258
+#define        CTOK_ELIPSIS    259
+#define        CASE    260
+#define        DEFAULT 261
+#define        CIF     262
+#define        CELSE   263
+#define        SWITCH  264
+#define        WHILE   265
+#define        DO      266
+#define        CFOR    267
+#define        GOTO    268
+#define        CONTINUE        269
+#define        BREAK   270
+#define        RETURN  271
+#define        TSEMI   272
+#define        TLBRACE 273
+#define        TRBRACE 274
+#define        TCOMMA  275
+#define        TCOLON  276
+#define        TASSIGN 277
+#define        TLPAREN 278
+#define        TRPAREN 279
+#define        TLSQBR  280
+#define        TRSQBR  281
+#define        TDOT    282
+#define        TAMPERSAND      283
+#define        TEXCL   284
+#define        TTILDE  285
+#define        TMINUS  286
+#define        TPLUS   287
+#define        TMULT   288
+#define        TDIV    289
+#define        TPERCENT        290
+#define        TLT     291
+#define        TGT     292
+#define        TCIRC   293
+#define        TBAR    294
+#define        TQUEST  295
+#define        CSIZEOF 296
+#define        CALIGNOF        297
+#define        CTYPEOF 298
 #define        ARROW_OP        299
 #define        CTYPEDEF        300
 #define        COFFSETOF       301
@@ -136,116 +170,174 @@ typedef union
 #define        CENUM   324
 #define        VA_ARG  325
 #define        VA_DCL  326
-#define        QGLOBALS        327
-#define        QMODIFIES       328
-#define        QNOMODS 329
-#define        QCONSTANT       330
-#define        QFUNCTION       331
-#define        QITER   332
-#define        QDEFINES        333
-#define        QUSES   334
-#define        QALLOCATES      335
-#define        QSETS   336
-#define        QRELEASES       337
-#define        QPRECLAUSE      338
-#define        QPOSTCLAUSE     339
-#define        QALT    340
-#define        QUNDEF  341
-#define        QKILLED 342
-#define        QENDMACRO       343
-#define        LLMACRO 344
-#define        LLMACROITER     345
-#define        LLMACROEND      346
-#define        TENDMACRO       347
-#define        QSWITCHBREAK    348
-#define        QLOOPBREAK      349
-#define        QINNERBREAK     350
-#define        QSAFEBREAK      351
-#define        QINNERCONTINUE  352
-#define        QFALLTHROUGH    353
-#define        QLINTNOTREACHED 354
-#define        QLINTFALLTHROUGH        355
-#define        QLINTFALLTHRU   356
-#define        QARGSUSED       357
-#define        QPRINTFLIKE     358
-#define        QLINTPRINTFLIKE 359
-#define        QSCANFLIKE      360
-#define        QMESSAGELIKE    361
-#define        QNOTREACHED     362
-#define        QCONST  363
-#define        QVOLATILE       364
-#define        QINLINE 365
-#define        QEXTENSION      366
-#define        QEXTERN 367
-#define        QSTATIC 368
-#define        QAUTO   369
-#define        QREGISTER       370
-#define        QOUT    371
-#define        QIN     372
-#define        QYIELD  373
-#define        QONLY   374
-#define        QTEMP   375
-#define        QSHARED 376
-#define        QREF    377
-#define        QUNIQUE 378
-#define        QCHECKED        379
-#define        QUNCHECKED      380
-#define        QCHECKEDSTRICT  381
-#define        QCHECKMOD       382
-#define        QKEEP   383
-#define        QKEPT   384
-#define        QPARTIAL        385
-#define        QSPECIAL        386
-#define        QOWNED  387
-#define        QDEPENDENT      388
-#define        QRETURNED       389
-#define        QEXPOSED        390
-#define        QNULL   391
-#define        QOBSERVER       392
-#define        QISNULL 393
-#define        QEXITS  394
-#define        QMAYEXIT        395
-#define        QNEVEREXIT      396
-#define        QTRUEEXIT       397
-#define        QFALSEEXIT      398
-#define        QLONG   399
-#define        QSIGNED 400
-#define        QUNSIGNED       401
-#define        QSHORT  402
-#define        QUNUSED 403
-#define        QSEF    404
-#define        QNOTNULL        405
-#define        QRELNULL        406
-#define        QABSTRACT       407
-#define        QCONCRETE       408
-#define        QMUTABLE        409
-#define        QIMMUTABLE      410
-#define        QTRUENULL       411
-#define        QFALSENULL      412
-#define        QEXTERNAL       413
-#define        QREFCOUNTED     414
-#define        QREFS   415
-#define        QNEWREF 416
-#define        QTEMPREF        417
-#define        QKILLREF        418
-#define        QRELDEF 419
-#define        CGCHAR  420
-#define        CBOOL   421
-#define        CINT    422
-#define        CGFLOAT 423
-#define        CDOUBLE 424
-#define        CVOID   425
-#define        QANYTYPE        426
-#define        QINTEGRALTYPE   427
-#define        QUNSIGNEDINTEGRALTYPE   428
-#define        QSIGNEDINTEGRALTYPE     429
-#define        IDENTIFIER      430
-#define        NEW_IDENTIFIER  431
-#define        TYPE_NAME_OR_ID 432
-#define        CCONSTANT       433
-#define        ITER_NAME       434
-#define        ITER_ENDNAME    435
-#define        TYPE_NAME       436
+#define        QWARN   327
+#define        QGLOBALS        328
+#define        QMODIFIES       329
+#define        QNOMODS 330
+#define        QCONSTANT       331
+#define        QFUNCTION       332
+#define        QITER   333
+#define        QDEFINES        334
+#define        QUSES   335
+#define        QALLOCATES      336
+#define        QSETS   337
+#define        QRELEASES       338
+#define        QPRECLAUSE      339
+#define        QPOSTCLAUSE     340
+#define        QINVARIANT      341
+#define        QALT    342
+#define        QUNDEF  343
+#define        QKILLED 344
+#define        QENDMACRO       345
+#define        LLMACRO 346
+#define        LLMACROITER     347
+#define        LLMACROEND      348
+#define        TENDMACRO       349
+#define        QSWITCHBREAK    350
+#define        QLOOPBREAK      351
+#define        QINNERBREAK     352
+#define        QSAFEBREAK      353
+#define        QINNERCONTINUE  354
+#define        QFALLTHROUGH    355
+#define        QLINTNOTREACHED 356
+#define        QLINTFALLTHROUGH        357
+#define        QLINTFALLTHRU   358
+#define        QARGSUSED       359
+#define        QPRINTFLIKE     360
+#define        QLINTPRINTFLIKE 361
+#define        QSCANFLIKE      362
+#define        QMESSAGELIKE    363
+#define        QNOTREACHED     364
+#define        QCONST  365
+#define        QVOLATILE       366
+#define        QINLINE 367
+#define        QEXTENSION      368
+#define        QEXTERN 369
+#define        QSTATIC 370
+#define        QAUTO   371
+#define        QREGISTER       372
+#define        QOUT    373
+#define        QIN     374
+#define        QYIELD  375
+#define        QONLY   376
+#define        QTEMP   377
+#define        QSHARED 378
+#define        QREF    379
+#define        QUNIQUE 380
+#define        QCHECKED        381
+#define        QUNCHECKED      382
+#define        QCHECKEDSTRICT  383
+#define        QCHECKMOD       384
+#define        QKEEP   385
+#define        QKEPT   386
+#define        QPARTIAL        387
+#define        QSPECIAL        388
+#define        QOWNED  389
+#define        QDEPENDENT      390
+#define        QRETURNED       391
+#define        QEXPOSED        392
+#define        QNULL   393
+#define        QOBSERVER       394
+#define        QISNULL 395
+#define        QEXITS  396
+#define        QMAYEXIT        397
+#define        QNEVEREXIT      398
+#define        QTRUEEXIT       399
+#define        QFALSEEXIT      400
+#define        QLONG   401
+#define        QSIGNED 402
+#define        QUNSIGNED       403
+#define        QSHORT  404
+#define        QUNUSED 405
+#define        QSEF    406
+#define        QNOTNULL        407
+#define        QRELNULL        408
+#define        QABSTRACT       409
+#define        QCONCRETE       410
+#define        QMUTABLE        411
+#define        QIMMUTABLE      412
+#define        QTRUENULL       413
+#define        QFALSENULL      414
+#define        QEXTERNAL       415
+#define        QREFCOUNTED     416
+#define        QREFS   417
+#define        QNEWREF 418
+#define        QTEMPREF        419
+#define        QKILLREF        420
+#define        QRELDEF 421
+#define        CGCHAR  422
+#define        CBOOL   423
+#define        CINT    424
+#define        CGFLOAT 425
+#define        CDOUBLE 426
+#define        CVOID   427
+#define        QANYTYPE        428
+#define        QINTEGRALTYPE   429
+#define        QUNSIGNEDINTEGRALTYPE   430
+#define        QSIGNEDINTEGRALTYPE     431
+#define        QNULLTERMINATED 432
+#define        QSETBUFFERSIZE  433
+#define        QSETSTRINGLENGTH        434
+#define        QMAXSET 435
+#define        QMAXREAD        436
+#define        QTESTINRANGE    437
+#define        TCAND   438
+#define        IDENTIFIER      439
+#define        NEW_IDENTIFIER  440
+#define        TYPE_NAME_OR_ID 441
+#define        CANNOTATION     442
+#define        CCONSTANT       443
+#define        ITER_NAME       444
+#define        ITER_ENDNAME    445
+#define        TYPE_NAME       446
+#define        METASTATE_NAME  447
 
 
 extern YYSTYPE yylval;
+/*
+** Resets all flags in bison.head
+*/
+
+
+/*@=allmacros@*/
+/*@=boolint@*/
+/*@=charint@*/
+/*@=macroparams@*/
+/*@=macroundef@*/
+/*@=unreachable@*/
+/*@=macrospec@*/
+/*@=varuse@*/
+/*@=ignorequals@*/
+/*@=macrostmt@*/
+/*@=noeffect@*/
+/*@=shadow@*/
+/*@=exitarg@*/
+/*@=macroredef@*/
+/*@=uniondef@*/
+/*@=compdef@*/
+/*@=matchfields@*/
+/*@=exportlocal@*/
+/*@=evalorderuncon@*/
+/*@=exportheader@*/
+/*@=typeuse@*/
+/*@=redecl@*/
+/*@=redef@*/
+/*@=noparams@*/
+/*@=ansireserved@*/
+/*@=fielduse@*/
+/*@=ifblock@*/
+/*@=elseifcomplete@*/
+/*@=whileblock@*/
+/*@=forblock@*/
+/*@=branchstate@*/
+/*@=readonlytrans@*/
+/*@=namechecks@*/
+/*@=usedef@*/
+/*@=systemunrecog@*/
+/*@=dependenttrans@*/
+/*@=unqualifiedtrans@*/
+/*@=declundef@*/
+
+
+/*drl added 11/27/2001*/
+/*@=bounds@*/
This page took 0.063086 seconds and 4 git commands to generate.