Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site dalcs.UUCP Path: utzoo!utcsri!dalcs!silvert From: silvert@dalcs.UUCP (Bill Silvert) Newsgroups: net.unix Subject: lex query: "Too many right contexts" Message-ID: <1527@dalcs.UUCP> Date: Fri, 21-Jun-85 16:20:06 EDT Article-I.D.: dalcs.1527 Posted: Fri Jun 21 16:20:06 1985 Date-Received: Fri, 21-Jun-85 23:41:56 EDT Organization: Marine Ecology Lab. Lines: 18 Whenever I use a right context in a long lex program I get the message: (Error) Too man right contexts And if I eliminate enought statements which do NOT have right contexts it works. Specifically, I am working on a cross-reference program for f77, which has lines like: WRITE ; to ignore reserved words, and I would like to recognize assignement statements with lines such as: [A-Z][A-Z0-9]*/= ECHO; (It's a bit more complex than ECHO, actually), and I get the error message. Can anyone shed light on how right contexts are treated? I get an error even if there is only one right context, as in the example. -- Bill Silvert Marine Ecology Lab. Dartmouth, NS dalcs!silvert dalcs!biomel!bill