regex: clean up position accounting for literal nodes
authorSzabolcs Nagy <nsz@port70.net>
Sat, 18 Apr 2015 14:31:07 +0000 (14:31 +0000)
committerRich Felker <dalias@aerifal.cx>
Sun, 31 Jan 2016 01:51:58 +0000 (20:51 -0500)
commita8cc2253843e30dfbdf0bb2954439d9f2b2e8704
tree8173ad73162abc8302d692a826bf2dbd21a8f84d
parent9ee57db8834ee0d9adb1e6a84a75b0818dbfca69
regex: clean up position accounting for literal nodes

This should not change the meaning of the code, just make the intent
clearer: advancing position is tied to adding a new literal.
src/regex/regcomp.c