comparison libinterp/parse-tree/pt-select.cc @ 19705:bf27e21f0bfb

maint: Merge default to temporary audio-gsoc branch.
author John W. Eaton <jwe@octave.org>
date Wed, 31 Dec 2014 14:59:42 -0500
parents 6113e0c6920b
children 4197fc428c7d
comparison
equal deleted inserted replaced
19704:dac3191a5301 19705:bf27e21f0bfb
1 /* 1 /*
2 2
3 Copyright (C) 1996-2012 John W. Eaton 3 Copyright (C) 1996-2013 John W. Eaton
4 4
5 This file is part of Octave. 5 This file is part of Octave.
6 6
7 Octave is free software; you can redistribute it and/or modify it 7 Octave is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by the 8 under the terms of the GNU General Public License as published by the
121 bool 121 bool
122 tree_switch_case::label_matches (const octave_value& val) 122 tree_switch_case::label_matches (const octave_value& val)
123 { 123 {
124 octave_value label_value = label->rvalue1 (); 124 octave_value label_value = label->rvalue1 ();
125 125
126 if (! error_state && label_value.is_defined () ) 126 if (! error_state && label_value.is_defined ())
127 { 127 {
128 if (label_value.is_cell ()) 128 if (label_value.is_cell ())
129 { 129 {
130 Cell cell (label_value.cell_value ()); 130 Cell cell (label_value.cell_value ());
131 131