Kaydet (Commit) fa535cf1 authored tarafından Fridrich Štrba's avatar Fridrich Štrba

token id 0 has a special meaning in the hash

Change-Id: I380c0d7640a0047fa53770ddfb6150dd2e3b61be
üst 127caae6
......@@ -55,9 +55,9 @@ print ( HXX "#include <sal/types.h>\n\n" );
$i = 0;
foreach( sort(keys(%tokens)) )
{
$i = $i + 1;
print( HXX "const sal_Int32 $tokens{$_} = $i;\n" );
print( GPERF "$_,$tokens{$_}\n" );
$i = $i + 1;
}
print ( GPERF "%%\n" );
print ( HXX "const sal_Int32 XML_TOKEN_COUNT = $i;\n" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment