X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/0c90a1f5e91bdaf862b82abe92a649a6b473aa6d..3e153163c7349c09938376f181ea4d8a1a02cdb5:/data/variant.hh diff --git a/data/variant.hh b/data/variant.hh index 14884ecb..5895b297 100644 --- a/data/variant.hh +++ b/data/variant.hh @@ -1,7 +1,6 @@ # C++ skeleton for Bison -# Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 -# Free Software Foundation, Inc. +# Copyright (C) 2002-2012 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 @@ -262,7 +261,7 @@ b4_args(b4_symbol_if([$1], [has_type], [const b4_symbol([$1], [type])& v]), b4_locations_if([const location_type& l]))) { - return symbol_type (b4_args([yytranslate_ (token::b4_symbol([$1], [id]))], + return symbol_type (b4_args([token::b4_symbol([$1], [id])], b4_symbol_if([$1], [has_type], [v]), b4_locations_if([l]))); }