Bean wrote: > On Fri, Aug 1, 2008 at 12:26 PM, Stefan Reinauer <[EMAIL PROTECTED]> wrote: > >> Bean wrote: >> >>> On Fri, Aug 1, 2008 at 7:48 AM, Patrick Georgi <[EMAIL PROTECTED]> wrote: >>> >>> >>>> Hi, >>>> >>>> I forgot this, so sorry for the separate mail: >>>> Currently, the parser expects comments to start at the beginning of the >>>> line, so "ls /foo # necessary because of baz" doesn't work properly >>>> >>>> I think a good scenario would be to have comments start either on "#" at >>>> pos0, or on " #". This way, ls /foo#bar continues to work. >>>> >>>> Also, currently the following is a single comment, which is an unusual >>>> feature: >>>> # this comment starts here\ >>>> and continues on this line >>>> >>>> >>> Hi, >>> >>> Actually, # and \ is handled in the read line function, it can't >>> handle complicated situation. >>> >>> >> Are you implying it is wrong there and should be moved to the parser? >> > > Hi, > > In theory, it should be handled by the lexer. but actually, it's not > so easy. lexer already has some issue, adding new handling would not > help. > > So, what's the right way to fix it, then?
-- coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br. Tel.: +49 761 7668825 • Fax: +49 761 7664613 Email: [EMAIL PROTECTED] • http://www.coresystems.de/ Registergericht: Amtsgericht Freiburg • HRB 7656 Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel