mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-05 16:20:10 +08:00
Merge pull request #2488 from WardF/gh2487.wif
Address jump-misses-init issue.
This commit is contained in:
commit
9cc8831fc8
@ -481,7 +481,8 @@ done: return 0;
|
||||
if(tag == NC_NAT) {
|
||||
sprintf(errstr,"Illegal integer suffix: %s",stag);
|
||||
yyerror(errstr);
|
||||
goto done;
|
||||
//goto done;
|
||||
return 0;
|
||||
}
|
||||
yytext[slen - strlen(stag)] = '\0';
|
||||
if(xlen > 16) { /* truncate hi order digits */
|
||||
|
@ -2406,7 +2406,8 @@ YY_RULE_SETUP
|
||||
if(tag == NC_NAT) {
|
||||
sprintf(errstr,"Illegal integer suffix: %s",stag);
|
||||
yyerror(errstr);
|
||||
goto done;
|
||||
//goto done;
|
||||
return 0;
|
||||
}
|
||||
yytext[slen - strlen(stag)] = '\0';
|
||||
if(xlen > 16) { /* truncate hi order digits */
|
||||
|
372
ncgen/ncgeny.c
372
ncgen/ncgeny.c
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
/* A Bison parser, made by GNU Bison 3.7.5. */
|
||||
/* A Bison parser, made by GNU Bison 3.8.2. */
|
||||
|
||||
/* Bison interface for Yacc-like parsers in C
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
||||
|
||||
/* As a special exception, you may create a larger work that contains
|
||||
part or all of the Bison parser skeleton and distribute that work
|
||||
@ -139,6 +139,8 @@ typedef union YYSTYPE YYSTYPE;
|
||||
|
||||
extern YYSTYPE ncglval;
|
||||
|
||||
|
||||
int ncgparse (void);
|
||||
|
||||
|
||||
#endif /* !YY_NCG_NCGEN_TAB_H_INCLUDED */
|
||||
|
Loading…
Reference in New Issue
Block a user