[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
| Title: | DIGITAL UNIX (FORMERLY KNOWN AS DEC OSF/1) | 
| Notice: | Welcome to the Digital UNIX Conference | 
| Moderator: | SMURF::DENHAM | 
|  | 
| Created: | Thu Mar 16 1995 | 
| Last Modified: | Fri Jun 06 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 10068 | 
| Total number of notes: | 35879 | 
9225.0. "YACC coredumps with large grammar" by RDGENG::CHAMBERLIN (Danger! Do not Reverse Polarity) Wed Mar 19 1997 08:39
A partner has reported yacc coredumping when trying to parse a large (1800
lines) grammar with yacc -vd <file> on Digital Unix V4.0B (rev 564).
He states the grammar works OK on at least three other (unspecified) Unix
platforms.
He has tried increasing internal strorage with very large N values (N9000000)
without effect.
I have looked at the source, and can't see any syntax/content problems, and the
fault reproduces on my V4.0A system. There are no error messages or anything. I
also tried with -s and that has the same problem.
I just tried it on a 3.2C system and it ran OK, without needing a large N value.
I swapped the skeleton parser drivers (/usr/ccs/lib/yaccpar) between systems,
using -P flag, and the v4.0 yacc still fails, whilst the V3.2C one still works,
so it looks like a problem with the actual yacc executable.
Has anyone any suggestions, or shall I QAR it?
Thanks,
		Ian Chamberlin.
| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 9225.1 |  | SMURF::RICKABAUGH | Mike Rickabaugh  Quo flamma est? | Wed Mar 19 1997 09:43 | 3 | 
|  | Please QAR it with a pointer to the grammar file.
-mike
 | 
| 9225.2 | OSF_QAR 52089 | RDGENG::CHAMBERLIN | Danger! Do not Reverse Polarity | Thu Mar 20 1997 03:17 | 0 |