X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=src%2Fdumpword.c;h=cefbc0f8a17ad81e09f75ddcf5a1919a94b6441e;hp=e78b108733f7a51da11a94d23ed7d54ef5e81977;hb=2f889a87ef4e11467f71ea3c03676a8d88cccd7b;hpb=0e3065564e83037d5fbbb3e0e1595e7ce95ce8eb diff --git a/src/dumpword.c b/src/dumpword.c index e78b108..cefbc0f 100644 --- a/src/dumpword.c +++ b/src/dumpword.c @@ -9,6 +9,16 @@ static struct option longopts[] = { {0, 0, 0, 0}, }; +CERRARRAY cerr[] = { + { 114, "not integer" }, + { 115, "not hex" }, + { 116, "out of hex range" }, + { 0, NULL }, +}; + +/* レジストリの内容を論理値(0〜65535)で表示する場合はtrue */ +bool logicalmode = false; + int main(int argc, char *argv[]) { int opt;