From 2cd2de8e4869bd221e442163adc7f7e36867655b Mon Sep 17 00:00:00 2001 From: ian Date: Tue, 31 May 2005 22:55:55 +0000 Subject: [PATCH] parse-proto-spec works so far --- hostside/parse-proto-spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hostside/parse-proto-spec b/hostside/parse-proto-spec index 6aa2b74..a15db77 100755 --- a/hostside/parse-proto-spec +++ b/hostside/parse-proto-spec @@ -46,8 +46,8 @@ while (<>) { $ybit= oct("0b$ybit"); } for $yval ($ybit ? (0,1) : '') { - printf(" { %-16s 0x%02x, %2d },\n", - sprintf("\"%s%s\",",$cname, $yval), + printf("%s( %-16s, 0x%02x, %2d )\n", + sprintf("%s%s,",$cname, $yval), oct("0b$opcode") | $ybit *$yval, $arglen) or die $!; -- 2.30.2