Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC830713); site tjalk.UUCP Path: utzoo!linus!decvax!mcvax!vu44!tjalk!sater From: sater@tjalk.UUCP (Hans van Staveren) Newsgroups: net.unix-wizards Subject: Possible lex bug Message-ID: <329@tjalk.UUCP> Date: Wed, 15-Aug-84 09:30:20 EDT Article-I.D.: tjalk.329 Posted: Wed Aug 15 09:30:20 1984 Date-Received: Fri, 10-Aug-84 08:23:26 EDT Organization: VU Informatica, Amsterdam Lines: 15 In the directory /usr/lib/lex in the file ncform two copy's of the following line are to be found: if ( (int)yyt > (int)yycrank){ This is on 4.1BSD, but on the original V7 tape the same code is to be found. Can anyone explain the casts? According to me they are just plain wrong. On the PDP 11 strange things occurred when the tables were loaded above 32K, and the effect of this on C-compilers with 2-byte int's and 4-byte pointers is dramatic. Has anyone seen the light on this one? -- Hans van Staveren, Vrije Universiteit Amsterdam ..!mcvax!vu44!tjalk!sater