On Sun, 3 Nov 2002, Reinhard Karcher wrote:

> > Still have this during build:
> > ---
> > flex -i lexer.l
> > "lexer.l", line 500: warning, rule cannot be matched
> > ---
>
> It's the old problem with the tr keyboard. Just remove the 2 lines from
> lexer.l. You could remove the lines in lexer.l.in, but if you want the
> kbd_unicode plugin, you have lost the tr keyboard.

The proper fix is this:

diff -ur dosemu-1.1.3.6/src/base/init/lexer.l.in 
dosemu-1.1.3.7/src/base/init/lexer.l.in
--- dosemu-1.1.3.6/src/base/init/lexer.l.in     Sun Oct 27 00:19:33 2002
+++ dosemu-1.1.3.7/src/base/init/lexer.l.in     Sun Nov  3 03:02:01 2002
@@ -486,8 +486,6 @@
                          return(KEYB_LAYOUT); }
 ru                     MAY_BE { yylval->i_value = KEYB_RU;
                                return(KEYB_LAYOUT); }
-tr                     MAY_BE { yylval->i_value = KEYB_TR;
-                               return(KEYB_LAYOUT); }
 keyb-user              MAY_BE { yylval->i_value = KEYB_USER; return(KEYB_LAYOUT); }

        /* serial stuff */

The problem was that I removed it from lexer.l and not lexer.l.in, and
then forgot about it :(. The tr at 420-421 in lexer.l is correct (from
src/plugin/kbd_unicode/config/plugin_lexer)

Bart

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to