diff options
Diffstat (limited to 'src/ilasm/prebuilt/asmparse.cpp')
-rw-r--r-- | src/ilasm/prebuilt/asmparse.cpp | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/src/ilasm/prebuilt/asmparse.cpp b/src/ilasm/prebuilt/asmparse.cpp index 50c62030ff..389546edb2 100644 --- a/src/ilasm/prebuilt/asmparse.cpp +++ b/src/ilasm/prebuilt/asmparse.cpp @@ -4,12 +4,13 @@ #line 2 "asmparse.y" - // Licensed to the .NET Foundation under one or more agreements. - // The .NET Foundation licenses this file to you under the MIT license. - // See the LICENSE file in the project root for more information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. // // File asmparse.y // + #include "ilasmpch.h" #include "grammar_before.cpp" @@ -1729,7 +1730,7 @@ YYSTATIC YYCONST short yyrecover[] = { #endif /* SCCSWHAT( "@(#)yypars.c 3.1 88/11/16 22:00:49 " ) */ -#line 3 "D:\\ProjectK3\\src\\tools\\devdiv\\x86\\yypars.c" +#line 3 "O:\\tfs\\cgm\\src\\Tools\\devdiv\\amd64\\yypars.c" #if ! defined(YYAPI_PACKAGE) /* ** YYAPI_TOKENNAME : name used for return value of yylex @@ -1833,9 +1834,16 @@ YYSTATIC char *yyscpy(register char*t, register char*f) YYSTATIC short yyn; YYSTATIC short yystate = 0; - YYSTATIC short *yyps= &yys[-1]; +#ifdef _PREFAST_ +#pragma warning(push) +#pragma warning(disable: 6200) // Index '-1' is out of valid index range...for non-stack buffer... +#endif + YYSTATIC short *yyps= &yys[-1]; YYSTATIC YYSTYPE *yypv= &yyv[-1]; - YYSTATIC short yyj; +#ifdef _PREFAST_ +#pragma warning(pop) +#endif + YYSTATIC short yyj; YYSTATIC short yym; #endif @@ -1852,8 +1860,17 @@ YYLOCAL YYNEAR YYPASCAL YYPARSER() YYAPI_TOKENNAME = YYAPI_TOKENNONE; yystate = 0; - yyps= &yys[-1]; - yypv= &yyv[-1]; + +#ifdef _PREFAST_ +#pragma warning(push) +#pragma warning(disable:6200) // Index '-1' is out of valid index range...for non-stack buffer... +#endif + yyps= &yys[-1]; + yypv= &yyv[-1]; +#ifdef _PREFAST_ +#pragma warning(pop) +#endif + #endif #ifdef YYDUMP @@ -4872,7 +4889,7 @@ case 834: case 835: #line 2045 "asmparse.y" { PASMM->SetManifestResAsmRef(yypvt[-0].string); } break;/* End of actions */ -#line 329 "D:\\ProjectK3\\src\\tools\\devdiv\\x86\\yypars.c" +#line 329 "O:\\tfs\\cgm\\src\\Tools\\devdiv\\amd64\\yypars.c" } } goto yystack; /* stack new state and value */ |