Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 12-22-2004, 02:01 AM   #1
Registered: Aug 2004
Location: U.S
Distribution: Ubuntu
Posts: 145

Rep: Reputation: 15
another flex & yacc question


flex by default generates the yylex function and yacc generates the yyparse() function.

yylex() is invoked by yyparse().

Are there any macros available through which i can give these functions my own names. Like for yylex() i would like to give my_yylex() and for yyparse() i would like to give my_yyparse()

thank you
Old 12-25-2004, 10:34 PM   #2
Moy Easwaran
Registered: Dec 2004
Distribution: Slackware, OpenBSD
Posts: 44

Rep: Reputation: 19
(search for prefix)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
lex & yacc installation sharathg786 Ubuntu 3 10-12-2005 01:21 AM
how to work on lex & yacc? sharathg786 Ubuntu 2 09-13-2005 04:52 AM
Gcc & Yacc riluve Linux - Newbie 2 03-23-2005 11:16 AM
any lex/yacc/flex mailig list sibtay Linux - Software 0 12-22-2004 03:24 AM
Lex & YACC coolfrog Programming 3 09-25-2004 07:00 AM

All times are GMT -5. The time now is 02:44 PM.

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