comparison scripts/general/validateattributes.m @ 21578:683a1beee538

maint: Use "FIXME:" for all code blocks needing further attention. * files-dock-widget.cc, file-editor-tab.cc, file-editor-tab.h, file-editor.cc, octave-qscintilla.cc, octave-qt-link.cc, __ilu__.cc, debug.h, oct-stream.cc, pt-jit.cc, __magick_read__.cc, ov-classdef.cc, pt-stmt.cc, oct-sort.cc, inputParser.m, validateattributes.m, fminunc.m, fsolve.m, fzero.m, __scatter__.m, print.m: Use "FIXME:" for all code blocks needing further attention.
author Rik <rik@octave.org>
date Fri, 01 Apr 2016 14:55:13 -0700
parents f7f97d7e9294
children ecce63c99c3f
comparison
equal deleted inserted replaced
21577:31823239207e 21578:683a1beee538
240 ## final user input. In addition, it can be called so many times at the 240 ## final user input. In addition, it can be called so many times at the
241 ## start of every function, we want it to run specially fast. 241 ## start of every function, we want it to run specially fast.
242 idx = 1; 242 idx = 1;
243 problem = false; # becomes true when one of the tests fails 243 problem = false; # becomes true when one of the tests fails
244 while (idx <= numel (attr)) 244 while (idx <= numel (attr))
245 ## TODO: once we use this in Octave core, it might be worthy to find 245 ## FIXME: once we use this in Octave core, it might be worthy to find
246 ## which attributes are checked more often, and place them in that 246 ## which attributes are checked more often, and place them in that
247 ## order inside the switch block. 247 ## order inside the switch block.
248 switch (tolower (attr{idx++})) 248 switch (tolower (attr{idx++}))
249 case "2d", problem = ndims (A) != 2; 249 case "2d", problem = ndims (A) != 2;
250 case "3d", problem = ndims (A) > 3; 250 case "3d", problem = ndims (A) > 3;