small bugfix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2474 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-08-10 09:35:19 +00:00
parent 23638ef606
commit 31028168b2

View File

@ -523,16 +523,26 @@ latexkeys const * Parser::read_delim()
case LM_TK_SYM: case LM_TK_SYM:
case LM_TK_NOGLYPH: case LM_TK_NOGLYPH:
case LM_TK_SPECIAL: case LM_TK_SPECIAL:
case LM_TK_BEGIN: case LM_TK_BEGIN: {
l = lval_; l = lval_;
//lyxerr << "found key 1: '" << l << "'\n"; //lyxerr << "found key 1: '" << l << "'\n";
//lyxerr << "found key 1: '" << l->name << "'\n"; //lyxerr << "found key 1: '" << l->name << "'\n";
break; break;
case LM_TK_STR: }
case ']':
case '[': {
string s;
s += ld;
l = in_word_set(s);
//lyxerr << "found key 2: '" << l->name << "'\n";
break;
}
case LM_TK_STR: {
string s; string s;
s += ival_; s += ival_;
l = in_word_set(s); l = in_word_set(s);
//lyxerr << "found key 2: '" << l->name << "'\n"; //lyxerr << "found key 2: '" << l->name << "'\n";
}
} }
return l; return l;
} }