help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

segmentation fault :(


From: Devin Zhang
Subject: segmentation fault :(
Date: Sun, 04 Jan 2004 22:32:59 -0600

My BNU friends,
 
I designed a simple parser (rtt.l and rtt.y are attached) using Lex and Yacc (I am sorry since it is not Flex and Bison). When it trys to parse model file. It gives "segmentation fault" error information. I really have no idea what is wrong.
 

--(end of buffer or a NUL)

--accepting rule at line 16 ("light")

--accepting rule at line 38 ("(")

--accepting rule at line 21 ("xyz")

--accepting rule at line 38 ("(")

--accepting rule at line 25 ("10")

--accepting rule at line 38 (",")

--accepting rule at line 25 ("11")

--accepting rule at line 38 (",")

--accepting rule at line 25 ("10")

--accepting rule at line 38 (")")

--accepting rule at line 38 (",")

--accepting rule at line 23 ("rgb")

--accepting rule at line 38 ("(")

--accepting rule at line 25 ("3")

--accepting rule at line 38 (",")

--accepting rule at line 25 ("4")

--accepting rule at line 38 (",")

--accepting rule at line 25 ("5")

--accepting rule at line 38 (")")

--accepting rule at line 38 (")")

Segmentation fault
 
 
Your help is greatly appreciated!
 
 
Devin
 

Attachment: rtt.l
Description: Binary data

Attachment: rtt.y
Description: Binary data

Attachment: model.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]