pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:1:   /* -*- c -*-   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: language.yacc,v 1.446 2008/07/14 08:13:31 grubba Exp $ + || $Id: language.yacc,v 1.447 2008/07/14 11:38:30 grubba Exp $   */      %pure_parser      %token TOK_ARROW      /*    * Basic value pushing    */   %token TOK_CONSTANT TOK_FLOAT TOK_STRING
pike.git/src/language.yacc:1247:    $$ = ID_FINAL | ID_INLINE;    if( !(THIS_COMPILATION->lex.pragmas & ID_NO_DEPRECATION_WARNINGS) &&    !TEST_COMPAT(7, 6) && Pike_compiler->compiler_pass==1 )    yywarning("Keyword nomask is deprecated in favor for 'final'.");       }    | TOK_FINAL_ID { $$ = ID_FINAL | ID_INLINE; }    | TOK_STATIC { $$ = ID_PROTECTED; }    | TOK_EXTERN { $$ = ID_EXTERN; }    | TOK_OPTIONAL { $$ = ID_OPTIONAL; } -  | TOK_PRIVATE { $$ = ID_PRIVATE | ID_PROTECTED | ID_INLINE; } +  | TOK_PRIVATE { $$ = ID_PRIVATE | ID_PROTECTED; }    | TOK_LOCAL_ID { $$ = ID_INLINE; }    | TOK_PUBLIC { $$ = ID_PUBLIC; }    | TOK_PROTECTED { $$ = ID_PROTECTED; }    | TOK_INLINE { $$ = ID_INLINE; }    | TOK_VARIANT { $$ = ID_VARIANT; }    ;      magic_identifiers1:    TOK_NO_MASK { $$ = "nomask"; }    | TOK_FINAL_ID { $$ = "final"; }