pike.git/
src/
docode.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:27:06 by Martin Nilsson <nilsson@opera.com>
acf187ce87d9ff0e3b778fc82dc343e655eef1d1 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
Remove Pike 0.6 support.
2309:
if(!is_const(case_val)) yyerror("Case label isn't constant.");
-
if (case_val->type
&& !TEST_COMPAT(0,6
)
)
{
+
if (case_val->type) {
if (!pike_types_le(case_val->type, current_switch.type)) { if (!match_types(case_val->type, current_switch.type)) { yytype_error("Type mismatch in case.",