Fix primitive table lexical analysis.

Sequences of digits in the table of a primitive may be matched
as decimal numbers instead of digits, and this breaks some
primitives.
Merge branch 'master' of git://github.com/steveicarus/iverilog