Skip navigation.
 
mlRe: Lex & Yacc in PBX?
FROM : Samad
DATE : Sat Jan 25 21:33:01 2003

When I try to build a *.l file, I get the following error message: (the 
project name is kALK)
>Compiling 

/Users/samad/kALK.build/kALK.build/DerivedSources/kalk_parser.c (1 
error)
>>Cannot open load file: 

/Users/samad/kALK/build/kALK.build/kALK.build/PrefixHeaders/
kALK_Prefix-ppc.pfe/cc1_ppc.pfe
>Build failed: (1 error)


On Saturday, January 25, 2003, at 09:13  PM, Jeremy Erwin wrote:

>
> On Saturday, January 25, 2003, at 11:23  PM, Samad wrote:
>

>> Is it possible to have lex or yacc input files in PBX and if so, how 
>> can I set up my project to handle *.l and *.y files?
>> Samad

>
> Just add the files into the project. There's a detailed description of 
> how one might do this in "Building Cocoa Applications". In the example 
> alluded to in the book, the lex file (rules.l) depends on a 
> intermediate produced by running grammar.y through yacc. To correctly 
> resolve this dependency, grammar.y is added to the project before 
> rules.l
>
>
> Jeremy
>



Related mailsAuthorDate
mlLex & Yacc in PBX? Samad Jan 25, 20:24
mlRe: Lex & Yacc in PBX? Jeremy Erwin Jan 25, 21:14
mlRe: Lex & Yacc in PBX? Samad Jan 25, 21:33