mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
nxstyle: Don't complain on ELF things like Elf32_Hdr
This commit is contained in:
committed by
patacongo
parent
e5ea0ac32d
commit
4879f2225e
@@ -1283,6 +1283,13 @@ int main(int argc, char **argv, char **envp)
|
||||
/* No error */
|
||||
}
|
||||
|
||||
/* Ignore ELF stuff like Elf32_Ehdr. */
|
||||
|
||||
else if ((strncmp(&line[ident_index], "Elf", 3) == 0))
|
||||
{
|
||||
/* No error */
|
||||
}
|
||||
|
||||
/* Special case hex constants. These will look like
|
||||
* identifiers starting with 'x' or 'X' but preceded
|
||||
* with '0'
|
||||
|
||||
Reference in New Issue
Block a user