2000-07-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2000-07-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+ * src/lyxrc.C (read): do not use LyXLex::lex() to parse set_color
+ arguments.
+
* lib/ui/default.ui: fix a couple of typos.
* config/gnome/gtk.m4: added (and added to the list of files in
* lib/ui/default.ui: fix a couple of typos.
* config/gnome/gtk.m4: added (and added to the list of files in
{
string lyx_name, x11_name;
{
string lyx_name, x11_name;
- if (lexrc.lex() == LyXLex::LEX_DATA) {
lyx_name = lexrc.GetString();
} else {
lyx_name = lexrc.GetString();
} else {
- lexrc.printError("Bad color tag: `$$Token'");
+ lexrc.printError("Missing color tag.");
- if (lexrc.lex() == LyXLex::LEX_DATA) {
x11_name = lexrc.GetString();
} else {
x11_name = lexrc.GetString();
} else {
- lexrc.printError("Bad color name: `$$Token'");
+ lexrc.printError("Missing color name for color : `$$Token'");