GnuDeveloper.com

Lemon Parser for Turbo C++

Hi,
Replace the function symbol comparison by the following code which is used in
quick sort , it works well in both Linux & Turbo c++also.

int Symbolcmpp(struct symbol **a, struct symbol **b){
 
        return strcmp((**a).name, (**b).name) ;   
}

and re compile lemon.c file , then now lemon is ready for the TC.

Groups:

Comments

lemon parser

March 16, 2010 by vivekanandan, 7 years 10 weeks ago
Comment: 5

lemon parser