]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parser.h
oh well
[lyx.git] / src / mathed / math_parser.h
index c3f64eea5e54b562a07dd35936cd40fb0dd9a58e..0b51edbec19da0ca5ead06e3f0d0b55c8611e56c 100644 (file)
@@ -2,7 +2,7 @@
 /*
  *  File:        math_parser.h
  *  Purpose:     Declaration of parsing utilities for mathed
- *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx> 
+ *  Author:      Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
  *  Created:     January 1996
  *  Description: Parse LaTeX2e math mode code.
  *
@@ -34,7 +34,7 @@ class LyXLex;
 enum MathTokenEnum
 {
        ///
-       LM_TK_SYM,
+       LM_TK_SYM = 256,
        ///
        LM_TK_BOX,
        ///
@@ -100,7 +100,7 @@ enum MathTokenEnum
        ///
        LM_TK_SPECIAL,
        ///
-       LM_TK_ARGUMENT, 
+       LM_TK_ARGUMENT,
        ///
        LM_TK_NEWCOMMAND,
        ///
@@ -108,7 +108,7 @@ enum MathTokenEnum
        ///
        LM_TK_NOT,
        ///
-       LM_TK_KERN,
+       LM_TK_UNDERSET,
        ///
        LM_TK_STACK
 };
@@ -142,11 +142,11 @@ bool mathed_parse_normal(MathAtom &, std::istream &);
 bool mathed_parse_normal(MathAtom &, LyXLex &);
 
 /// parse a macro definition from a string, enter it into the macro table
-string mathed_parse_macro(string const &);
+bool mathed_parse_macro(string &, string const &);
 /// ... a stream
-string mathed_parse_macro(std::istream &);
+bool mathed_parse_macro(string &, std::istream &);
 /// ... the LyX lexxer
-string mathed_parse_macro(LyXLex &);
+bool mathed_parse_macro(string &, LyXLex &);
 
 /// parse a single cell from a string
 void mathed_parse_cell(MathArray & ar, string const &);