[UPDATE] Lex/Yacc and Cocoa
[UPDATE] Lex/Yacc and Cocoa
- Subject: [UPDATE] Lex/Yacc and Cocoa
- From: Miguel Arroz <email@hidden>
- Date: Sat, 20 Aug 2005 03:15:23 +0100
Hi!
I noticed that it I remove the include Cocoa/Cocoa.h directive,
gcc will signal all the expected errors (my errors, and the errors
related to ObjC classes not found). So it's the Cocoa/Cocoa.h
directiva that is causing the problem... i'm lost here!
Yours
Miguel Arroz
On 2005/08/20, at 03:03, Miguel Arroz wrote:
Hi!
I'm trying to add a lex and a yacc file to a cocoa project. I
defined a function inside the yacc (call it MyFunction) file so
that objectiveC code may call it and wait for the parsing to finish.
When i try to compile, xCode says it may not link because
MyFunction was not found. After some time, i suspected xCode was
not even compiling the file. Bingo! I added some errors to the C
code inside the yacc and lex fixe. xCode apparently generates the
derived files, calls CompileC for the derived files, but signals no
error. That means it's not even looking and my wrong code. The
amazing thing is that the code is actually in the derived files
that, by the compilation log, xCode actually compiles!
Any idea of what my be happening? Is it OK to add yacc and lex
files to a cocoa project? I included Cocoa/Cocoa.h on both files,
because I use some MutableArrays and Strings inside it. Shouldn't
that be ok!?
Yours
Miguel Arroz
"GUERRA E' PAZ
LIBERDADE E' ESCRAVIDAO
IGNORANCIA E' FORCA" -- 1984
Miguel Arroz
http://www.ipragma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
"We have no sympathy for the lost souls
We've chosen the path of disgrace
We give this life to our children
And teach them to hate this place" -- Apocalyptica, Life Burns!
Miguel Arroz
http://www.ipragma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden