help-bison
[Top][All Lists]
Advanced

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

Help with Error location in Bison 2.1


From: cwhite
Subject: Help with Error location in Bison 2.1
Date: Thu, 25 Oct 2007 04:48:50 -0700 (PDT)

Hi! Can someone explain to me how I could get the column number for an error?
As I understand it the '@n' feature needs for yylex to store information in
yylloc. How would I do this with Flex? And if it's stored in Flex then only
the tokens will have column numbers. Will Bison automatically recompute
column numbers for nonterminals?

I hope someone can provide or link to a sample code. Thank you.
-- 
View this message in context: 
http://www.nabble.com/Help-with-Error-location-in-Bison-2.1-tf4690339.html#a13405137
Sent from the Gnu - Bison - Help mailing list archive at Nabble.com.





reply via email to

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