flex
flex copied to clipboard
skeletons.c line 167: *cp++ --> cp++
in file skeletons.c line 167: for (cp = line + 10; isspace(*cp) || *cp == '['; *cp++) *cp++ should be cp++ otherwise the character is counted up, not the pointer
Agree we should fix this. It hasn't caused a problem because post-increment had higher precedence than dereference. So that clause does increment the pointer, it's just bad.