Allow defining symbols with OPTIONS

Some people are confused by the boulder -option, and
SYMBOLS=S_boulder, so allow defining symbols with
OPTION-lines in addition to the SYMBOLS.

So these are the same thing:

  SYMBOLS=S_boulder:0
  OPTIONS=S_boulder:0
This commit is contained in:
Pasi Kallinen
2015-12-24 12:29:27 +02:00
parent cc7d5c31b4
commit 69e7f4e29b
3 changed files with 16 additions and 6 deletions

View File

@@ -2386,7 +2386,10 @@ int src;
*op = '\0';
}
/* parse here */
parsesymbols(bufp);
if (!parsesymbols(bufp)) {
raw_printf("Error in SYMBOLS definition '%s'.\n", bufp);
wait_synch();
}
if (morelines) {
do {
*symbuf = '\0';