1 diff --git a/tool/lemon.c b/tool/lemon.c
2 index 54c8946..ac14a06 100644
5 @@ -3668,6 +3668,8 @@ PRIVATE FILE *tplt_open(struct lemon *lemp)
7 }else if( access(templatename,004)==0 ){
8 tpltname = templatename;
9 + }else if( access("/usr/share/lemon/lempar.c", R_OK)==0){
10 + tpltname = "/usr/share/lemon/lempar.c";
12 toFree = tpltname = pathsearch(lemp->argv0,templatename,0);