FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Updated info on VS.NET 7.0 installation problems
Goto page Previous  1, 2
 
Post new topic   Reply to topic     Forum Index -> DCoder
View previous topic :: View next topic  
Author Message
dsieber



Joined: 27 Mar 2004
Posts: 16

PostPosted: Wed Jun 02, 2004 11:02 am    Post subject: Reply with quote

Hey Charlie,

I had a project set up in Visual Studio .NET, and I added custom command line tools for the lexer and parser. Here's what I have:

For the lexer:

Code:
flex -o$(InputName).cpp $(InputName).lex

And for the grammar:

Code:
bison -v -o$(InputName).cpp -d $(InputName).y

$(InputName) is a macro, of course, and expands to the base name of the project file, which would be "lexer" and "parser", respectively.

Give those a try, and let me know if it works.
_________________
dave
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DCoder All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group