This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] Handle comments in the C expression parser


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]