LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-08-2005, 03:15 AM   #1
ssg14j
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
n Rules Never Reduced error in Yacc


Hai All !

I am new to linux , i am studying lex and yacc can anyone tell me how to debug the error in yacc,

ERROR : 10 rules never reduced

how to debug it? how the error occur
 
Old 12-09-2005, 11:46 PM   #2
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 438

Rep: Reputation: 30
From Lex & Yacc by John R. Levine, Tony Mason, and Doug Brown page 275

Quote:
Informative Messages
%s: %d rules never reduced

Some rules are never used, either because they weren't used in the grammar or because they
were on the losing end of shift/reduce or reduce/reduce conflicts. Either change the
grammar to use the rules or remove them.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in Makefile for Lex and Yacc oulevon Programming 2 10-24-2005 12:52 AM
HP PSC1610 not reconized in hplip device manager, reduced functionality carlotegano Linux - Hardware 2 08-21-2005 02:22 AM
aborted SUSE 9.2 installation reduced hard disk size lkomito Linux - Newbie 2 07-04-2005 12:43 PM
an yacc error message question feetyouwell Programming 1 10-16-2004 04:33 PM
Reduced disk space after install problems. alastairb Linux - Newbie 4 09-17-2004 06:17 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration