pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:106:   %left TOK_LSH TOK_RSH   %left '+' '-'   %left '*' '%' '/'   %right TOK_NOT '~'   %nonassoc TOK_INC TOK_DEC      %{   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.289 2002/08/15 14:49:22 marcus Exp $"); + RCSID("$Id: language.yacc,v 1.290 2002/08/17 22:58:15 mast Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif      #include "interpret.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "las.h"   #include "interpret.h"
pike.git/src/language.yacc:1077:    | TOK_CONTINUE { $$ = "continue"; }    | TOK_DEFAULT { $$ = "default"; }    | TOK_IMPORT { $$ = "import"; }    | TOK_INHERIT { $$ = "inherit"; }    | TOK_LAMBDA { $$ = "lambda"; }    | TOK_PREDEF { $$ = "predef"; }    | TOK_RETURN { $$ = "return"; }    | TOK_SSCANF { $$ = "sscanf"; }    | TOK_SWITCH { $$ = "switch"; }    | TOK_TYPEOF { $$ = "typeof"; } +  | TOK_GLOBAL { $$ = "global"; }    ;      magic_identifiers: magic_identifiers1 | magic_identifiers2 | magic_identifiers3 ;      magic_identifier: TOK_IDENTIFIER    | magic_identifiers    {    struct pike_string *tmp=make_shared_string($1);    $$=mkstrnode(tmp);    free_string(tmp);