home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Server/py: Minor fixes in actor_move().
[plomrogue]
/
src
/
common
/
parse_file.h
diff --git
a/src/common/parse_file.h
b/src/common/parse_file.h
index 7d7cfbda195ebab3b31436f82edf74db90575f56..e0e3c7a075fd44ffd6ca963e8e9ea15997ce4aef 100644
(file)
--- a/
src/common/parse_file.h
+++ b/
src/common/parse_file.h
@@
-1,4
+1,8
@@
/* src/common/parse_file.h
/* 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.
*/
*
* Tools for parsing files.
*/
@@
-24,7
+28,7
@@
extern void err_line_zero();
*/
extern uint8_t err_line(uint8_t test, char * msg);
*/
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
* 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.
* 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
extern char * token_from_line(char * line);
/* Test for "string" to represent proper int16 (type: "i"), uint8 ("8"), uint16