• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Lex/Yacc and Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lex/Yacc and Cocoa


  • Subject: Lex/Yacc and Cocoa
  • From: Miguel Arroz <email@hidden>
  • Date: Sat, 20 Aug 2005 03:03:53 +0100

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


  • Follow-Ups:
    • [UPDATE] Lex/Yacc and Cocoa
      • From: Miguel Arroz <email@hidden>
  • Prev by Date: Re: Context Menu Plugin sample code
  • Next by Date: [UPDATE] Lex/Yacc and Cocoa
  • Previous by thread: Re: Context Menu Plugin sample code
  • Next by thread: [UPDATE] Lex/Yacc and Cocoa
  • Index(es):
    • Date
    • Thread