dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU] treecc help required, generated code doesn't compile


From: Pankaj Jangid
Subject: Re: [DotGNU] treecc help required, generated code doesn't compile
Date: Wed, 21 Sep 2005 18:28:43 +0530

Thank you very much, Rhys. It compiled now.

Regards,
Pankaj

On 21/09/05, Rhys Weatherley <address@hidden> wrote:
You should add the following to the top of expr.tc to make sure that expr.h is
included into expr.c before the c_skel.c code:

%{
#include "expr.h"
%}

You will also need to add '#include " expr.h"' to the front of expr.l so that
the definitions in expr.tab.h are compiled correctly.

You may want to check out the treecc/examples directory in the source, as it
contains compilable samples that may be a bit more polished than the ones in
the documentation.

Cheers,

Rhys.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]