]> git.saurik.com Git - bison.git/blobdiff - src/getargs.c
Don't use m4_include on relative file names, as it doesn't work.
[bison.git] / src / getargs.c
index 23b06394b47c08cd0d1c9477efb1fd28a003bfe9..ffdff8abaf81602d00b0fa7f69ffd44b7542dba3 100644 (file)
@@ -355,7 +355,8 @@ getargs (int argc, char *argv[])
       case 'g':
        /* Here, the -g and --graph=FILE options are differentiated.  */
        graph_flag = 1;
-       spec_graph_file = AS_FILE_NAME (optarg);
+       if (optarg)
+         spec_graph_file = AS_FILE_NAME (optarg);
        break;
 
       case 'v':