mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
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:
parent
4eb38057ea
commit
2ae7c98e29
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65683
@ -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? */
|
||||
|
Loading…
Reference in New Issue
Block a user