1 --- lemon.c~ 2008-12-20 18:30:37.000000000 +0000
2 +++ lemon.c 2008-12-20 18:34:26.000000000 +0000
4 tpltname = pathsearch(lemp->argv0,templatename,0);
7 + sprintf(buf,"/usr/share/lemon/%s",templatename);
11 fprintf(stderr,"Can't find the parser driver template file \"%s\".\n",
14 --- lemon.c~ 2009-05-31 18:01:34.000000000 +0100
15 +++ lemon.c 2009-05-31 18:04:49.000000000 +0100
18 in = fopen(tpltname,"rb");
20 - fprintf(stderr,"Can't open the template file \"%s\".\n",templatename);
21 + fprintf(stderr,"Can't open the template file \"%s\".\n",tpltname);
25 --- lemon.c~ 2009-05-31 18:05:15.000000000 +0100
26 +++ lemon.c 2009-05-31 18:09:32.000000000 +0100
27 @@ -3097,9 +3097,14 @@
29 in = fopen(tpltname,"rb");
31 - fprintf(stderr,"Can't open the template file \"%s\".\n",tpltname);
34 + sprintf(buf,"/usr/share/lemon/%s",templatename);
36 + in = fopen(tpltname,"rb");
38 + fprintf(stderr,"Can't open the template file \"%s\".\n",tpltname);