4 * Purpose: Declaration of parsing utilities for mathed
5 * Author: Alejandro Aguilar Sierra <asierra@servidor.unam.mx>
6 * Created: January 1996
7 * Description: Parse LaTeX2e math mode code.
9 * Dependencies: Xlib, XForms
11 * Copyright: (c) 1996, Alejandro Aguilar Sierra
15 * You are free to use and modify this code under the terms of
16 * the GNU General Public Licence version 2 or later.
19 #ifndef __MATH_PARSER__
20 #define __MATH_PARSER__
26 #include "symbol_def.h"
29 #define LM_TK_OPEN '{'
31 #define LM_TK_CLOSE '}'
70 struct latexkeys { char const* name; short token; int id; };
74 in_word_set (register char const *str, register int len);
77 struct latexkeys *lm_get_key(int index);
80 struct latexkeys *lm_get_key_by_id(int id, short tc=LM_TK_SYM);
94 extern YYSTYPE yylval;