view scripts/java/org/octave/TeXcode.java @ 17874:28e9562d708b

Fix display of '{}' for empty cells in GUI Variable window. * libinterp/octave-value/ov-cell.cc(short_disp): Use parentheses around tertiary operator expression so that C++ stream operator '<<' doesn't grab result of test, rather than output of test.
author Rik <rik@octave.org>
date Thu, 07 Nov 2013 09:54:38 -0800
parents d63878346099
children
line wrap: on
line source

/*

Copyright (C) 2010, 2013 Martin Hepperle

This file is part of Octave.

Octave is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or (at
your option) any later version.

Octave is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
General Public License for more details.

You should have received a copy of the GNU General Public License
along with Octave; see the file COPYING.  If not, see
<http://www.gnu.org/licenses/>.

*/

// A class to hold a TeX character code -> Unicode translation pair.

package org.octave;

public class TeXcode
{
  protected String tex;
  protected char ucode;

  public TeXcode (String t, char u)
  {
    tex = t;
    ucode = u;
  }
}