diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-01-16 10:52:39 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-01-16 10:52:39 +0000 |
commit | aee21231bd45b128b8e48a21dfca57f308a453ce (patch) | |
tree | b2c2ab8b508cb4bb2ac0182ca0b5e3c695ddb5ad /test/data | |
parent | c11fc57837acfd62de02d5fc28a83d7c3b4587a5 (diff) | |
download | libcss-aee21231bd45b128b8e48a21dfca57f308a453ce.tar.gz libcss-aee21231bd45b128b8e48a21dfca57f308a453ce.tar.bz2 |
Use oct() instead of hex(). Can now consume binary input.
svn path=/trunk/libcss/; revision=6075
Diffstat (limited to 'test/data')
-rwxr-xr-x | test/data/parse/makeopv.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/data/parse/makeopv.pl b/test/data/parse/makeopv.pl index 8961d48..f997528 100755 --- a/test/data/parse/makeopv.pl +++ b/test/data/parse/makeopv.pl @@ -7,5 +7,5 @@ die "Usage: makeopv.pl <opcode> <flags> <value>\n" if (@ARGV != 3); my ($opcode, $flags, $value) = @ARGV; -printf("0x%.8x\n", hex($opcode) | hex($flags) << 10 | hex($value) << 18); +printf("0x%.8x\n", oct($opcode) | oct($flags) << 10 | oct($value) << 18); |