beagleboard / am335x_pru_package

331 stars 181 forks source link

pasm macro line counting is broken #63

Closed laubzega closed 6 years ago

laubzega commented 6 years ago

When reporting an error in a macro pasm lists two line numbers: line where the macro is being expanded, and the macro line where error occurred (counting from the beginning of macro). The latter is not very useful - a direct file line number to jump to is what is needed. This is further compounded by the number being wrong, as the counting omits empty and comment-only lines.