comparison libinterp/parse-tree/lex.ll @ 21055:5e00ed38a58b

maint: Replace if/error/else paradigm with just if/error. * __ilu__.cc, data.cc, file-io.cc, graphics.cc, graphics.in.h, ls-mat5.cc, lu.cc, octave-link.cc, regexp.cc, schur.cc, spparms.cc, sub2ind.cc, syscalls.cc, toplev.cc, variables.cc, xpow.cc, audiodevinfo.cc, ccolamd.cc, ov-builtin.cc, ov-classdef.cc, ov-intx.h, ov-lazy-idx.cc, ov-mex-fcn.cc, op-int.h, lex.ll, oct-parse.in.yy, pt-binop.cc, pt-cbinop.cc, pt-const.cc, pt-decl.h, pt-fcn-handle.cc, pt-unop.cc, CollocWt.cc: Replace if/error/else paradigm with just if/error.
author Rik <rik@octave.org>
date Wed, 13 Jan 2016 11:02:22 -0800
parents ec532a439c6f
children a9f2c2d72892
comparison
equal deleted inserted replaced
21054:221847e5f488 21055:5e00ed38a58b
1728 1728
1729 error ("invalid character '%s' (ASCII %d) near line %d, column %d", 1729 error ("invalid character '%s' (ASCII %d) near line %d, column %d",
1730 undo_string_escape (static_cast<char> (c)), c, 1730 undo_string_escape (static_cast<char> (c)), c,
1731 curr_lexer->input_line_number, curr_lexer->current_input_column); 1731 curr_lexer->input_line_number, curr_lexer->current_input_column);
1732 1732
1733 // FIXME: This is no longer reachable now that error is exception based.
1733 return LEXICAL_ERROR; 1734 return LEXICAL_ERROR;
1734 } 1735 }
1735 } 1736 }
1736 1737
1737 %{ 1738 %{