Change NOFORTH comment character from # to \ followed by space,

to make things more interchangeable between it and the FORTH case.

Perhaps requiring the space is a bit too much, but...

Nothing in the tree seems to produce loader.rc files with comment
line, at this time.
This commit is contained in:
Daniel C. Sobral 2000-09-10 13:48:51 +00:00
parent 4eb38057ea
commit 2ae7c98e29
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65683

View File

@ -219,7 +219,7 @@ include(const char *filename)
#else
flags = 0;
/* Discard comments */
if (input[0] == '#')
if (strncmp(input+strspn(input, " "), "\\ ", 2) == 0)
continue;
cp = input;
/* Echo? */