X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/270a173cf307c5032f3644593eef0d66ed68676f..c7925b99cb67c97af2da26b68b67c234f718494a:/src/files.c?ds=sidebyside diff --git a/src/files.c b/src/files.c index 0dbcac37..d8641521 100644 --- a/src/files.c +++ b/src/files.c @@ -23,6 +23,7 @@ #include "getargs.h" #include "files.h" #include "gram.h" +#include "error.h" #include "complain.h" FILE *finput = NULL; @@ -211,9 +212,9 @@ skeleton_find (const char *envvar, const char *skeleton_name) if (!res) { /* Skeleton file name without path */ - const char *skel_name = strrchr(skeleton_name, '/'); + const char *skel_name = strrchr (skeleton_name, '/'); if (!skel_name) - skel_name = strrchr(skeleton_name, '\\'); + skel_name = strrchr (skeleton_name, '\\'); if (!skel_name) skel_name = skeleton_name; else