linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Sparse parsing question: string literal
@ 2017-08-20 12:31 Dibyendu Majumdar
  2017-08-20 13:05 ` Christopher Li
  0 siblings, 1 reply; 8+ messages in thread
From: Dibyendu Majumdar @ 2017-08-20 12:31 UTC (permalink / raw)
  To: Linux-Sparse

Hi,

I am looking at the parse tree for following snippet:

void main(int argc, const char *argv[])
{
5;
6.5;
"hello";
}

I see that 5 is treated as EXPR_VALUE, 6.5 as EXPR_FVALUE, but "hello"
is treated as EXPR_SYMBOL. Why is that?

Thanks and Regards
Dibyendu

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-08-20 18:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-20 12:31 Sparse parsing question: string literal Dibyendu Majumdar
2017-08-20 13:05 ` Christopher Li
2017-08-20 13:12   ` Dibyendu Majumdar
2017-08-20 13:31     ` Christopher Li
2017-08-20 15:16   ` Derek M Jones
2017-08-20 16:00     ` Christopher Li
2017-08-20 16:31       ` Derek M Jones
2017-08-20 18:25         ` Christopher Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).