Skip match_sym for G_ lines

This commit is contained in:
Ray Chason
2022-12-05 19:56:50 -05:00
parent 51ec42886e
commit d90cd6d7d2

View File

@@ -835,6 +835,10 @@ match_sym(char *buf)
const char *p = strchr(buf, ':'), *q = strchr(buf, '=');
const struct symparse *sp = loadsyms;
/* G_ lines will never match here */
if ((buf[0] == 'G' || buf[0] == 'g') && buf[1] == '_')
return (struct symparse *) 0;
if (!p || (q && q < p))
p = q;
if (p) {