X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fas3%2Ftokenizer.lex;h=9ac960747dc3ed7343309b3089d38635e0210875;hp=e103b257580439662084400290236c3fda87986f;hb=bb864e1a88e670c99d559c7dee4f74e9bf7d978b;hpb=763bcfebf188186f18f6bb35338317571c4d2d87 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);