Fixed parser in infinite loop

fixed bad hex value hanging.

BUG=

Review URL: https://chromiumcodereview.appspot.com//14060021