mirror of
https://github.com/open-simh/simtools.git
synced 2026-02-19 22:15:04 +00:00
More tests. Refine string delimiter test for .ASCII a bit.
Make the delimiters for .INCLUDE and .LIBRARY accept the same delimiters (= is not disallowed, it just makes the line look like an assignment).
This commit is contained in:
4
parse.c
4
parse.c
@@ -83,6 +83,9 @@ char *getstring(
|
||||
* but not
|
||||
* .include ^/name/ <name> name =name= :name:
|
||||
* .include :name: seems to be silently ignored.
|
||||
*
|
||||
* This should probably follow the exact same rules as .ASCII
|
||||
* although that is not mentioned in the manual,
|
||||
*/
|
||||
char *getstring_fn(
|
||||
char *cp,
|
||||
@@ -94,7 +97,6 @@ char *getstring_fn(
|
||||
|
||||
switch (*cp) {
|
||||
case '<':
|
||||
case '=':
|
||||
case ':':
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user