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:
Olaf Seibert
2015-06-04 12:11:14 +02:00
parent fdceabe88c
commit 137a9db671
5 changed files with 30 additions and 7 deletions

View File

@@ -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;
}