lexical to integer cmp, fixes #334

Pretty simple.  We may want another rc after this.