X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fcommon%2Fparse_file.h;h=e0e3c7a075fd44ffd6ca963e8e9ea15997ce4aef;hb=bcb73daf6f90c4356bdbeba5783a493e941a2519;hp=7d7cfbda195ebab3b31436f82edf74db90575f56;hpb=891ba8fbca53d920f6b3704827fa6b8aee737de4;p=plomrogue diff --git a/src/common/parse_file.h b/src/common/parse_file.h index 7d7cfbd..e0e3c7a 100644 --- a/src/common/parse_file.h +++ b/src/common/parse_file.h @@ -1,4 +1,8 @@ /* src/common/parse_file.h + * + * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3 + * or any later version. For details on its copyright, license, and warranties, + * see the file NOTICE in the root directory of the PlomRogue source package. * * Tools for parsing files. */ @@ -24,7 +28,7 @@ extern void err_line_zero(); */ extern uint8_t err_line(uint8_t test, char * msg); -/* Return next token from "line" or NULL if none is found. Tokens either a) +/* Return next token from "line", or NULL if none is found. Tokens either a) * start at the first non-whitespace character and end before the next * whitespace character after that; or b) if the first non-whitespace character * is a single quote followed by at least one other single quote some time later @@ -32,7 +36,7 @@ extern uint8_t err_line(uint8_t test, char * msg); * the second, with the next token_from_line() call starting its token search * after that second quote. The only way to return an empty string (instead of * NULL) as a token is to delimit the token by two succeeding single quotes. - * */ + */ extern char * token_from_line(char * line); /* Test for "string" to represent proper int16 (type: "i"), uint8 ("8"), uint16