changed .psrc to .sp
authorDavid Anderson <dvander@alliedmods.net>
Sat Jan 27 03:55:59 2007 +0000 (2007-01-27)
changeset 395c6ee42bcb76d
parent 394 1cb4fde24ab4
child 396 c0af59ee9ca4
changed .psrc to .sp
sourcepawn/compiler/sc1.c
     1.1 --- a/sourcepawn/compiler/sc1.c	Sat Jan 27 03:55:33 2007 +0000
     1.2 +++ b/sourcepawn/compiler/sc1.c	Sat Jan 27 03:55:59 2007 +0000
     1.3 @@ -990,8 +990,8 @@
     1.4        i=atoi(ptr+1);
     1.5        add_constant(str,i,sGLOBAL,0);
     1.6      } else {
     1.7 -      strlcpy(str,argv[arg],sizeof(str)-5); /* -5 because default extension is ".psrc" */
     1.8 -      set_extension(str,".psrc",FALSE);
     1.9 +      strlcpy(str,argv[arg],sizeof(str)-5); /* -5 because default extension is ".sp" */
    1.10 +      set_extension(str,".sp",FALSE);
    1.11        insert_sourcefile(str);
    1.12        /* The output name is the first input name with a different extension,
    1.13         * but it is stored in a different directory