X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Ftokenizer.lex;h=9ac960747dc3ed7343309b3089d38635e0210875;hb=15d3df10f09bd780efa101d0c253db96716eb145;hp=e103b257580439662084400290236c3fda87986f;hpb=ed3ed503ef4d5ee623f6cc7a7c6d9b1434c7609c;p=swftools.git diff --git a/lib/as3/tokenizer.lex b/lib/as3/tokenizer.lex index e103b25..9ac9607 100644 --- a/lib/as3/tokenizer.lex +++ b/lib/as3/tokenizer.lex @@ -528,6 +528,10 @@ void tokenizer_register_namespace(const char*id) { trie_put(&namespaces, id); } +void tokenizer_unregister_namespace(const char*id) +{ + trie_remove(namespaces, id); +} static inline tokenizer_is_namespace(const char*id) { return trie_lookup(namespaces, id);