diff options
author | Ben Smith <binjimin@gmail.com> | 2017-04-18 14:52:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-18 14:52:01 -0700 |
commit | 9b0055d1d9c75149b2c93b95117fc9af7c20ec32 (patch) | |
tree | 079c3fa307d2af7b92ca183ff680a8c76f6245b3 /src/prebuilt/ast-parser-gen.hh | |
parent | 50007242ecb843a94fbcc7eb118f2c58376d3858 (diff) | |
download | wabt-9b0055d1d9c75149b2c93b95117fc9af7c20ec32.tar.gz wabt-9b0055d1d9c75149b2c93b95117fc9af7c20ec32.tar.bz2 wabt-9b0055d1d9c75149b2c93b95117fc9af7c20ec32.zip |
Define the implicit func type before the function (#400)
When a function is defined without an explicit type, it will first
search the already defined (implicitly or otherwise) func types. If one
is found, it will use it. Otherwise it will define its own and use that.
The code previously would define this new type after the function, which
works but doesn't roundtrip properly because it ends up defining the
same func type twice.
Diffstat (limited to 'src/prebuilt/ast-parser-gen.hh')
-rw-r--r-- | src/prebuilt/ast-parser-gen.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/prebuilt/ast-parser-gen.hh b/src/prebuilt/ast-parser-gen.hh index 53b5e4e3..99b19c83 100644 --- a/src/prebuilt/ast-parser-gen.hh +++ b/src/prebuilt/ast-parser-gen.hh @@ -1,8 +1,8 @@ -/* A Bison parser, made by GNU Bison 3.0.2. */ +/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison interface for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2013 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by |