From 6d95ea2651cb1d5a62a770dc250a6d7c3c353a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 9 Nov 2001 18:46:48 +0000 Subject: [PATCH] read new column from lib/symbols git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3002 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_hash.C | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mathed/math_hash.C b/src/mathed/math_hash.C index dc1de913e5..be57d1ae07 100644 --- a/src/mathed/math_hash.C +++ b/src/mathed/math_hash.C @@ -166,6 +166,7 @@ void readSymbols(string const & filename) lex.setFile(filename); while (lex.isOK() && lex.next()) { latexkeys tmp; + string xmlname; tmp.name = lex.getString(); if (lex.next()) tmp.token = tokenEnum(lex.getString()); @@ -175,6 +176,8 @@ void readSymbols(string const & filename) tmp.id = lex.getInteger(); if (lex.next()) tmp.type = lex.getString(); + if (lex.next()) + xmlname = lex.getString(); if (theWordList.find(tmp.name) != theWordList.end()) lyxerr << "readSymbols: token " << tmp.name << " already exists.\n";