pike.git
/
src
/
docode.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/docode.c:1:
/* || 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: docode.c,v 1.
197
2008/
04
/
14
10
:
14
:
35
grubba
Exp $
+
|| $Id: docode.c,v 1.
198
2008/
05
/
11
22
:
44
:
00
mast
Exp $
*/ #include "global.h" #include "las.h" #include "program.h" #include "pike_types.h" #include "stralloc.h" #include "interpret.h" #include "constants.h" #include "array.h"
pike.git/src/docode.c:604:
default: my_yyerror("docode: Failed to make svalue for builtin %s",func); } free_node(n); } static void emit_range (node *n DO_IF_DEBUG (COMMA int num_args)) { struct compilation *c = THIS_COMPILATION; node *low = CADR (n), *high = CDDR (n);
-
int bound_types;
+
int bound_types;
/* Got bogus gcc warning here. */
switch (low->token) { case F_RANGE_FROM_BEG: bound_types = RANGE_LOW_FROM_BEG; break; case F_RANGE_FROM_END: bound_types = RANGE_LOW_FROM_END; break; case F_RANGE_OPEN: bound_types = RANGE_LOW_OPEN; break; #ifdef PIKE_DEBUG default: Pike_fatal ("Unexpected node %d as range lower bound.\n", low->token); #endif }