Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site clyde.UUCP Path: utzoo!watmath!clyde!rcj From: rcj@clyde.UUCP (R. Curtis Jackson) Newsgroups: net.unix-wizards Subject: anyone played with yacc? Message-ID: <450@clyde.UUCP> Date: Wed, 6-Jun-84 10:17:12 EDT Article-I.D.: clyde.450 Posted: Wed Jun 6 10:17:12 1984 Date-Received: Thu, 7-Jun-84 07:40:59 EDT Organization: AT&T Bell Laboratories Whippany NJ Lines: 18 Hi, netland -- this question involves a Vax 11/780 running USG 5.0, but will probably apply to any 32-bit machine running almost any Unix. I have a guy here at Whippany who wants to have a yacc input with a large number of tokens in it, but yacc barfs after 127. I looked through the source code and found a define for NTERMS to be 127. My question is, This is a pretty suspicious-looking number and I am wondering if anyone has experimented with it and found out how it interacts with the other defines in that section of the file 'dextern' and also if there is any garbage in the code that would screw up as a result of increasing NTERMS to something like 255. (i.e., is there any funny bit-masking, etc. that would blow up). Any pointers (other than looking through source code -- that is a last resort when you are already working 70-hour weeks....) would be greatly appreciated. Thanks,