Skip to content
Snippets Groups Projects
Select Git revision
  • 2286e78f5cbc8c8401b2c71d1b92a00e303da19a
  • master default protected
  • 9.0
  • 8.0
  • nt-tools
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2020
  • v8.0.2018
  • v8.0.2016
  • v8.0.2014
  • v8.0.2012
  • v8.0.2008
  • v8.0.2006
  • v8.0.2004
  • v8.0.2002
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
41 results

Gnome.pmod

Blame
  • las.c 128.45 KiB
    /*
    || 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: las.c,v 1.434 2008/08/17 16:22:41 mast Exp $
    */
    
    #include "global.h"
    #include "interpret.h"
    #include "las.h"
    #include "array.h"
    #include "object.h"
    #include "stralloc.h"
    #include "dynamic_buffer.h"
    #include "lex.h"
    #include "pike_types.h"
    #include "constants.h"
    #include "mapping.h"
    #include "multiset.h"
    #include "pike_error.h"
    #include "docode.h"
    #include "main.h"
    #include "pike_memory.h"
    #include "operators.h"
    #include "callback.h"
    #include "pike_macros.h"
    #include "peep.h"
    #include "builtin_functions.h"
    #include "cyclic.h"
    #include "opcodes.h"
    #include "pikecode.h"
    #include "gc.h"
    #include "pike_compiler.h"
    #include "block_alloc.h"
    
    /* Define this if you want the optimizer to be paranoid about aliasing
     * effects to to indexing.
     */
    /* #define PARANOID_INDEXING */
    
    /* #define NEW_ARG_CHECK */
    
    static node *eval(node *);
    static void optimize(node *n);
    static node *localopt(node *n);
    
    int cumulative_parse_error=0;
    extern char *get_type_name(int);
    
    #define MAX_GLOBAL 2048
    
    /* #define yywarning my_yyerror */
    
    int car_is_node(node *n)
    {
      if (!_CAR(n)) return 0;
      switch(n->token)
      {
      case F_EXTERNAL:
      case F_GET_SET:
      case F_IDENTIFIER:
      case F_TRAMPOLINE:
      case F_CONSTANT:
      case F_LOCAL:
      case F_THIS:
      case F_VERSION:
        return 0;
    
      default:
        return 1;