Source Insight 4.0 can't parse '#' comments in x86assembly

64 Views Asked by At

I recently use Source Insight 4.0 to inspect the source code of Linux kernel, but find that SI cannot parses the comment starting with '#' correctly in x86 assembly file.

SI cannot parse the assembly code correctly

As SI doesn't parse the '#' comment, the quotation mark in line 18 make everything after it a multi-line string.

I've viewed SI's document but got little help. Actually I have no idea how to troubleshoot in this case.

I've tried to add a new "Custom Parsing Expression" to x86 Asm Language Properties but failed. The expressions I tried includes:

#.*
#.*$
#(.)*$

They should match all charactors after '#' in a single line. But they all got the same error like: "Regular expression must contain one group." and I don't know which kinds of 'group' does it need.

Tried to add new custiom parsing expression

Thanks for guiding!

0

There are 0 best solutions below