nasm_unquote: make code a little more uniform
authorH. Peter Anvin <hpa@zytor.com>
Mon, 2 Jun 2008 17:02:36 +0000 (10:02 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 2 Jun 2008 17:02:36 +0000 (10:02 -0700)
commite46fec66ca915a903927e4fd3b1abac15c218f8a
tree9410a3ca9a2ce3422767287ae471ef675cd58c56
parent1df123bdbfba703815345f5d82095e410710a9c6
nasm_unquote: make code a little more uniform

Make the code a bit more consistent:

- ndig is now always a countdown, and we always to the (p > escp+1)
  test to see if we got anything at all (this is to deal with stuff
  like \x without a digit.)
- Add missing break; after 'v' (bug!).
- Preinitialize nval to zero.
quote.c