Added skipline method used for shader parsing

This commit is contained in:
cholleme 2003-02-03 14:11:51 +00:00
parent e781942783
commit c7d9316e27
2 changed files with 13 additions and 2 deletions

View file

@ -1132,8 +1132,19 @@ skipwhite:
return data;
}
/*
==============
COM_SkipLine
PENTA:
Skip until the next newline
==============
*/
char *COM_SkipLine(char *data) {
while (*data && *data != '\n')
data++;
return data;
}
/*
================

View file

@ -142,7 +142,7 @@ extern char com_token[1024];
extern qboolean com_eof;
char *COM_Parse (char *data);
char *COM_SkipLine(char *data);
extern int com_argc;
extern char **com_argv;