diff options
Diffstat (limited to 'src/parser.c')
-rw-r--r-- | src/parser.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c index 8b8dbc5..88979d5 100644 --- a/src/parser.c +++ b/src/parser.c @@ -155,6 +155,13 @@ hubbub_error hubbub_parser_setopt(hubbub_parser *parser, (hubbub_treebuilder_optparams *) params); } break; + case HUBBUB_PARSER_ENABLE_SCRIPTING: + if (parser->tb != NULL) { + result = hubbub_treebuilder_setopt(parser->tb, + HUBBUB_TREEBUILDER_ENABLE_SCRIPTING, + (hubbub_treebuilder_optparams *) params); + } + break; default: result = HUBBUB_INVALID; } |