diff options
author | Jin Kyu Song <jin.kyu.song@intel.com> | 2013-11-27 14:10:40 -0800 |
---|---|---|
committer | Jin Kyu Song <jin.kyu.song@intel.com> | 2013-11-27 15:43:33 -0800 |
commit | 487f352b6222c79fd6c719d2c00ab6087c6b6b3c (patch) | |
tree | d8b19e49b37c89586bba36691331f80111d71b79 /tokhash.pl | |
parent | 6cfa968e8d3ef6344ef3e92b37d64a277124ee29 (diff) | |
download | nasm-487f352b6222c79fd6c719d2c00ab6087c6b6b3c.tar.gz nasm-487f352b6222c79fd6c719d2c00ab6087c6b6b3c.tar.bz2 nasm-487f352b6222c79fd6c719d2c00ab6087c6b6b3c.zip |
stdscan: Rework curly brace parsing routines
As recommended by the community, a comma-separated decorators ({k1,z})
and nested braces ({{k1},{z}}) are dropped out. So only standard syntax
is supported from now.
This rework made source code neat and easy to maintain. Most of the codes
for handling corner cases are removed.
Signed-off-by: Jin Kyu Song <jin.kyu.song@intel.com>
Diffstat (limited to 'tokhash.pl')
-rwxr-xr-x | tokhash.pl | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -260,6 +260,7 @@ if ($output eq 'h') { print " uint16_t ix;\n"; print " const struct tokendata *data;\n"; print "\n"; + printf " tv->t_flag = 0;\n"; printf " crc = crc64(UINT64_C(0x%08x%08x), token);\n", $$sv[0], $$sv[1]; print " k1 = (uint32_t)crc;\n"; |