diff options
Diffstat (limited to 'gcc/cp/parse.y')
| -rw-r--r-- | gcc/cp/parse.y | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/parse.y b/gcc/cp/parse.y index b8dff069e90..13c678b7b2a 100644 --- a/gcc/cp/parse.y +++ b/gcc/cp/parse.y @@ -278,7 +278,7 @@ cp_parse_init () %token NAMESPACE TYPENAME_KEYWORD USING %token LEFT_RIGHT TEMPLATE %token TYPEID DYNAMIC_CAST STATIC_CAST REINTERPRET_CAST CONST_CAST -%token SCOPE +%token SCOPE EXPORT /* Define the operator tokens and their precedences. The value is an integer because, if used, it is the tree code @@ -485,6 +485,11 @@ extdef: { do_pending_inlines (); } | datadef { do_pending_inlines (); } + + | EXPORT + { cp_warning ("keyword `export' not implemented, and will be ignored"); } + template_def + { do_pending_inlines (); } | template_def { do_pending_inlines (); } | asm_keyword '(' string ')' ';' |

