Re: Comments in .notfunction?
Shigio YAMAGUCHI <[email protected]> Fri, 16 Jul 2021 10:38:18 +0900
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <CADJmJYqCvFnPE4HKu-roe43RSjiDOYeR6Ku0rYDJwT6os31LTQ@mail.gmail.com> |
Hello, I'm worried you may not be able to handle function names that start with a '#'. How about using ';'? I don't think using ';' at the beginning of a function name cannot happen in any language. [.notfunction] ; ; The names given here are not considered functions. ; main funcx Regards, Shigio On Thu, Jul 15, 2021 at 12:23 AM Miller, Matt (SCON) <[email protected]> wrote: > > Based on a very quick glance of the code (version 6.6.6), it looks like in load_notfunction(), the STRBUF_SHARPSKIP flag could be added to the strbuf_fgets() call to support '#' prefixed comment lines in .notfunction: > > > > 83 for (tablesize = 0; (p = strbuf_fgets(ib, ip, STRBUF_NOCRLF)) != NULL; tablesize++) > > 84 strbuf_puts0(sb, p); > > > > If that evaluation is correct, we were wondering if that would be a minor enhancement worth tracking. > > > > Thanks, > > > > Matt -- Shigio YAMAGUCHI <[email protected]> PGP fingerprint: 26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB