Move checks for valid hex/bin numbers to the helper routines
commite55f182f3d529b23c086c62e32ba2cc1a66ee8be
authorPetr Tesarik <petr@tesarici.cz>
Tue, 16 Oct 2012 20:19:01 +0000 (16 22:19 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Tue, 16 Oct 2012 20:19:01 +0000 (16 22:19 +0200)
tree279615e70eca4d0fa78623afc4182cad0aa5edc1
parentd19ace1596b5bbd18d95f747e0b3278630ab0e82
Move checks for valid hex/bin numbers to the helper routines

This means that the check is not repeated in a second place, so if it
ever has to be changed, the other place cannot be missed.
libhed/expr.c