[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
error with flex
From: |
César M |
Subject: |
error with flex |
Date: |
Wed, 20 Jul 2005 00:51:32 +0200 |
I had solved this problem like this
At the beginning of the .l file (flex file)
%option noyywrap
My entire lex file is:
%option noyywrap
number [0-9]+\.?|[0-9]*\.[0-9]+
%%
[ ] { /* skip blanks */ }
{number} { sscanf(yytext, "%lf", &yylval);
return NUMBER; }
\n|. { return yytext[0]; }
César
http://countdown2000.3a2.com
-----Original Message-----
From: address@hidden
address@hidden">mailto:address@hidden On Behalf
Of Jittinan Suwanruangsri
Sent: 04 Aralık 2004 Cumartesi 21:10
To: address@hidden
Subject: error with flex
Today I have used flex to generate lexer so I got c code and I have compiled
it with Borland c++ compiler it notified my error like I have attatched a
picture to you. It look like
"Unresolved external "_yywrap""
then I try to compile it again with Microsoft Visual c++ 6 and I got same
result as before.I think I don't write this c code by my self but it
generated from flex a code should correct my code doesn't has this
Identifier and I search this string in to c code generated from flex I don't
found it too.
I think may I have done something wrong but I don't know what? Can you give
me some advices?
Now I am hurry because this is my homework and I have to finish it this
week.
* If you cann't contact me please send to address@hidden
Please reply me
Thank.........
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- error with flex,
César M <=