Search the web
Sign In
New User? Sign Up
flexbisonwin32 · Flex & BISON on Win32
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 2156 - 2186 of 4342   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
2156
Thanks i will try that and get back to you if it works or not :). ... C/C++ ... test.l ... it ... got ... http://www.hotmail.com...
michael161904
Offline Send Email
Jan 1, 2005
11:43 am
2157
... C/C++ ... test.l ... it ... got ... http://www.hotmail.com...
michael161904
Offline Send Email
Jan 1, 2005
11:59 am
2158
Hi i did that and i got two errors saying Unresolved external '_warning' referenced from "borland\bcc55 \bin\lex.yy.obj" Unresolved external '_yywrap'...
michael161904
Offline Send Email
Jan 1, 2005
12:00 pm
2159
two solutions: (1): create yywrap()function like this: int yywrap() { return 1; } (2): in the second part of your lex file, use %option noyywrap . this...
chen xian
hoganbjtu
Offline Send Email
Jan 1, 2005
12:08 pm
2160
Do i put them at the top of the lex.yy.c file? the void main() { yymain(); } and int yywrap() { return 1; }? I tired this at the top of the file but i got...
michael161904
Offline Send Email
Jan 1, 2005
12:15 pm
2161
both of the main, yywrap functions should be located in the third part of the lex file! by the way, you can add my msn: buaa_chenx@... ... compiler v5 ...
chen xian
hoganbjtu
Offline Send Email
Jan 1, 2005
12:18 pm
2162
How do i goto the third part wats it called or the line number? sorry for questions just that i do ont know much about lex file structures lol. ... function ...
michael161904
Offline Send Email
Jan 1, 2005
12:20 pm
2163
the standard lex file format is: %{ #include <stdio.h> /*or the head files used in your program*/ %} %option noyywrap /*generate yywrap automaticaly */ ...
chen xian
hoganbjtu
Offline Send Email
Jan 1, 2005
12:27 pm
2164
Oh so i put it in the les file not in the c source file? chen xian <buaa_chenx@...> wrote:the standard lex file format is: %{ #include <stdio.h> /*or...
Michael Hanif
michael161904
Offline Send Email
Jan 1, 2005
12:28 pm
2165
Hi this is the file i am using for a test. %{ char *yylval; #include <string.h> %} %option noyywrap %% \"[^"\n]*["\n] { yylval = strdup(yytext+1); if...
michael161904
Offline Send Email
Jan 1, 2005
12:43 pm
2166
%{ char *yylval; #include <string.h> %} %option noyywrap %% \"[^"\n]*["\n] { yylval = strdup(yytext+1); if (yylval[yyleng-2] != '"') printf("improperly...
chen xian
hoganbjtu
Offline Send Email
Jan 1, 2005
12:53 pm
2167
Thanks is that program correct when i run it it just is blank and i type something and it repeats what i say is that correct? ... be a ... Borland C/C++ ... ...
michael161904
Offline Send Email
Jan 1, 2005
1:31 pm
2168
I don't know what you are saying. you define all the actions.so, I don't konw what you want to do. ... compiler v5 ... ...
chen xian
hoganbjtu
Offline Send Email
Jan 1, 2005
1:37 pm
2170
I am using flex++ and vc++, how can I make my scannner to read from a file instead of others? please give me an example. thanks!...
hedyzhaowei
Offline Send Email
Jan 3, 2005
3:53 am
2171
Hi friends , thanks for ur guide . i got an error while running flex. when i run the following prg i am getting "premature EOF" at line 40(last line) %{ ...
Sangeetha Jothimurugan
vivegam_333
Offline Send Email
Jan 3, 2005
11:04 am
2172
Hi i am trying to compile a file it processed thru lex fine but when i run thru my compiler i get 26 errors saying that all the statments are undefined like...
michael161904
Offline Send Email
Jan 3, 2005
2:04 pm
2173
Sorry for double post but i think i have sorted them other errors out i made lang_tab.h from bison but in my flex file when i goto compile it using Borland...
michael161904
Offline Send Email
Jan 3, 2005
8:42 pm
2174
Hi friends , thanks for ur guide . i got an error while running flex. when i run the following prg i am getting "premature EOF" at line 40(last line) %{ ...
Sangeetha Jothimurugan
vivegam_333
Offline Send Email
Jan 4, 2005
5:49 am
2175
A CUP OF COFFEE You will never look at a cup of coffee the same way again. A young woman went to her mother and told her about her life and how things were so...
Krunal Dedhiya
krunaldedhiya@...
Send Email
Jan 5, 2005
6:47 pm
2176
When encountering difficulty, stupid man says I would fail soon, clever man says I would succeed soon. ... From: Krunal Dedhiya...
Yang, Liu (Kandy)
liuyang@...
Send Email
Jan 6, 2005
2:01 am
2177
I'm getting *yyuput redefinition* errors compiling flex-generated lex.yy.c with VC++ (6). The same code compiles well with gcc. Any ideas? Compiling... ...
Arkady Syamtomov
syamtomov
Offline Send Email
Jan 8, 2005
9:41 pm
2178
Hi i am running a flex file and generated a c file but it is giving me "the memory referenced at "some addr". The memory could not be read " i attach the flex...
Sangeetha Jothimurugan
vivegam_333
Offline Send Email
Jan 10, 2005
12:38 pm
2179
Hi, I am working on the design of front end using Flex & bison for the translator: Verilog to C. If any of you guys had worked on it or have any relevant...
satchaku
Offline Send Email
Jan 10, 2005
10:40 pm
2180
To make it work on my Machine (Win98SE) using gcc from mingw I change : int main(int argc,char*argv) -> int main(int argc,char*argv[]) and yywrap must return 1...
Hugo Rozas
hrmpe
Offline Send Email
Jan 12, 2005
12:04 am
2181
hi friends Thanks for ur replies, Can u say how to give arguments for VC++ during runtime? In turbo C i used the menu "Arguments " bfore running the program. I...
Sangeetha Jothimurugan
vivegam_333
Offline Send Email
Jan 12, 2005
4:19 am
2182
... From: "prakash varandani" <prakash_varandani54321@...> To: krunaldedhiya@... Subject: lex\yacc e-book Date: Mon, 3 Jan 2005 05:20:21 -0800...
Krunal Dedhiya
krunaldedhiya@...
Send Email
Jan 12, 2005
4:31 am
2183
Yeps In VC6 is a little hidden : Once you setup the project, goto Project - Settings - Debug - Program Arguments ... From: Sangeetha Jothimurugan To:...
Hugo Rozas
hrmpe
Offline Send Email
Jan 12, 2005
11:47 am
2184
Hi, I met a problem when I compiled a lex grammar under cygWin. lex.yy.c: In function `void yy_init_buffer(yy_buffer_state*, FILE*)': lex.yy.c:1255: error:...
lhict
Offline Send Email
Jan 20, 2005
6:41 am
2185
Hi friends, I am designing a new language compiler . i am using bison for parser. I can compile the c file generated with 0 errors but i don't know how to test...
Sangeetha Jothimurugan
vivegam_333
Offline Send Email
Jan 21, 2005
4:18 am
2186
hi, I didn't have linux on my system. So i am using windows for running the 'C' files generated by flex and bison tools. ... Linking... samcalc.obj : error...
Sangeetha Jothimurugan
vivegam_333
Offline Send Email
Jan 25, 2005
9:45 am
Messages 2156 - 2186 of 4342   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help