[Xastir-dev] awk.c: Is this expected?

Jason Godfrey godfreja at gmail.com
Wed Jan 20 17:58:57 EST 2010


Hello.

I was looking through awk.c trying to understand it. As part of that I added code to awk_find_sym to print the symbols it is looking up. I saw something that surprised me. This could be entirely due to not fully understanding the code yet, but I thought I would ask.

While drawing Tiger maps I saw a bunch of number symbol lookups, which I was expecting. But I also saw a fair number of ones like:

SYM ===name)$1"; next===
SYM ===name) $1"; next===
SYM ===name)$1"; next===
SYM ===name) $1"; next===
SYM ===name) $1"; next===


(My code prints the SYM and ===).

It looks to me like a bad rule or the rule parsing grabbed more then it should of.

Or, like I said, I don't have as good of understanding as I think I do. :-)

Any comments? Is this something I should pursue?

Thanks
- Jason




More information about the Xastir-dev mailing list