From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Elizabeth Chastain To: dberlin@redhat.com Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Handle comments in the C expression parser Date: Tue, 13 Feb 2001 22:09:00 -0000 Message-id: <200102140609.WAA27978@bosch.cygnus.com> X-SW-Source: 2001-02/msg00199.html > It shouldn't give that error, you should get an error as soon as you > hit enter after line. Err, yeah. (gdb) print /* multi line error: unterminated comment ... that is what I am thinking. > Think of comments as ignored quoted strings with different start and > end chars. And different \ convention. I'm too tired to figure out how gdb handles \ in '...' and "..." strings. > On to better things. > :) Oooh, oooh, can we get a new demangler with "unsigned int", "void", "char *", and "foo &" ? That would make 5 or 6 people happy. Michael