mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[dom] enum scanner_state -> unsigned int
This commit is contained in:
parent
12e09622eb
commit
6d227f98a2
@ -476,7 +476,7 @@ sgml_parsing_push(struct dom_stack *stack, struct dom_node *node, void *data)
|
||||
struct dom_string *string = &node->string;
|
||||
struct dom_scanner_token *token;
|
||||
struct dom_string incomplete;
|
||||
enum sgml_scanner_state scanner_state = SGML_STATE_TEXT;
|
||||
/*enum sgml_scanner_state*/ unsigned int scanner_state = SGML_STATE_TEXT;
|
||||
|
||||
parsing->depth = parser->stack.depth;
|
||||
|
||||
|
@ -439,7 +439,7 @@ scan_sgml_element_token(struct dom_scanner *scanner, struct dom_scanner_token *t
|
||||
enum sgml_token_type type = SGML_TOKEN_GARBAGE;
|
||||
int real_length = -1;
|
||||
int possibly_incomplete = 1;
|
||||
enum sgml_scanner_state scanner_state = scanner->state;
|
||||
/*enum sgml_scanner_state*/ unsigned int scanner_state = scanner->state;
|
||||
|
||||
token->string.string = string++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user