type: improve type_to_str() to handle SYM_NODE
commitb9aabaee886f8768e9191ea0e7983a4b7899494b
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 15 Dec 2014 10:05:36 +0000 (15 13:05 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 15 Dec 2014 10:05:36 +0000 (15 13:05 +0300)
treeebda1199251a7fd2b6bb77dd0c08b2f3803ea5cf
parent056a2882264b94e663b89916425d7fe530e4259e
type: improve type_to_str() to handle SYM_NODE

This prints some more useful information for SYM_NODE.

This is a hack because I don't really understand SYM_NODE.  That's not a
real type in C so we shouldn't be printing this.  get_type() shouldn't
be returning SYM_NODE should it?  Not sure.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_type.c