Improve definitions of parse_ulong and parse_ullong:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 17 Jun 2009 00:29:56 +0000 (00:29 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Wed, 17 Jun 2009 00:29:56 +0000 (00:29 +0000)
commit8b16068941819b951136b07b2e8e70adbe66fd65
treed7f1d8509151576e9c360930abe63e11f8c4622d
parentc928fe0fa052cc93d7bb6bb02cdc86d805515bb1
Improve definitions of parse_ulong and parse_ullong:
- Use macro to eliminate duplicate body definitions.
- Rename okay as is_okay; add parenthesis to help "clarify" logic.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2253 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/helper/command.c