# HG changeset patch # User David A. Holland # Date 1370914411 14400 # Node ID 3e505c16b0b08ff9405847e3d75b59ec7e2be734 # Parent 05a94332f08b82a374df573472801690129d2bc3 Accept # by itself, including with a comment after it. diff -r 05a94332f08b -r 3e505c16b0b0 directive.c --- a/directive.c Mon Jun 10 21:32:47 2013 -0400 +++ b/directive.c Mon Jun 10 21:33:31 2013 -0400 @@ -490,6 +490,12 @@ return; } } + /* ugh. allow # by itself, including with a comment after it */ + uncomment(line); + if (line[0] == '\0') { + return; + } + skip = strcspn(line, ws); complain(p, "Unknown directive #%.*s", (int)skip, line); complain_fail();