Browse Source
cppcheck doesn't understand ASM style comments beginning with '#' and tries to parse them: I get this error: cpu/mips_pic32_common/reset_mod.S:84: error (syntaxError): syntax error from this line: beqz s1, init_resources # Branch if this is NOT an NMI exception. If I place the comment inside C-style comments cppcheck passes, ie beqz s1, init_resources # /*Branch if this is NOT an NMI exception.*/ Note current in-tree ASM files fail cppcheck (they must have been added before this check) for example: cpu/lpc2387/asmfunc.spr/rotary

1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue