changed .psrc to .sp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40401
This commit is contained in:
David Anderson 2007-01-27 03:55:59 +00:00
parent 8cea528978
commit ad403d62a2

View File

@ -990,8 +990,8 @@ static void parseoptions(int argc,char **argv,char *oname,char *ename,char *pnam
i=atoi(ptr+1);
add_constant(str,i,sGLOBAL,0);
} else {
strlcpy(str,argv[arg],sizeof(str)-5); /* -5 because default extension is ".psrc" */
set_extension(str,".psrc",FALSE);
strlcpy(str,argv[arg],sizeof(str)-5); /* -5 because default extension is ".sp" */
set_extension(str,".sp",FALSE);
insert_sourcefile(str);
/* The output name is the first input name with a different extension,
* but it is stored in a different directory