mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[dom] enum -> unsgined int
This commit is contained in:
parent
587d9887b7
commit
5056e27c15
@ -19,12 +19,12 @@
|
|||||||
/* Selector parsing: */
|
/* Selector parsing: */
|
||||||
|
|
||||||
/* Maps the content of a scanner token to a pseudo-class or -element ID. */
|
/* Maps the content of a scanner token to a pseudo-class or -element ID. */
|
||||||
static enum dom_select_pseudo
|
static /*enum dom_select_pseudo*/ unsigned int
|
||||||
get_dom_select_pseudo(struct dom_scanner_token *token)
|
get_dom_select_pseudo(struct dom_scanner_token *token)
|
||||||
{
|
{
|
||||||
static struct {
|
static struct {
|
||||||
struct dom_string string;
|
struct dom_string string;
|
||||||
enum dom_select_pseudo pseudo;
|
/*enum dom_select_pseudo*/ unsigned int pseudo;
|
||||||
} pseudo_info[] = {
|
} pseudo_info[] = {
|
||||||
|
|
||||||
#define INIT_DOM_SELECT_PSEUDO_STRING(str, type) \
|
#define INIT_DOM_SELECT_PSEUDO_STRING(str, type) \
|
||||||
@ -294,7 +294,7 @@ parse_dom_select_pseudo(struct dom_select *select, struct dom_select_node *sel,
|
|||||||
struct dom_scanner *scanner)
|
struct dom_scanner *scanner)
|
||||||
{
|
{
|
||||||
struct dom_scanner_token *token = get_dom_scanner_token(scanner);
|
struct dom_scanner_token *token = get_dom_scanner_token(scanner);
|
||||||
enum dom_select_pseudo pseudo;
|
/*enum dom_select_pseudo*/ unsigned int pseudo;
|
||||||
enum dom_code code;
|
enum dom_code code;
|
||||||
|
|
||||||
/* Skip double :'s in front of some pseudo's (::first-line, etc.) */
|
/* Skip double :'s in front of some pseudo's (::first-line, etc.) */
|
||||||
|
@ -187,7 +187,7 @@ enum dom_select_pseudo {
|
|||||||
struct dom_select {
|
struct dom_select {
|
||||||
struct dom_select_node *selector;
|
struct dom_select_node *selector;
|
||||||
unsigned long specificity;
|
unsigned long specificity;
|
||||||
enum dom_select_pseudo pseudo;
|
/*enum dom_select_pseudo*/ unsigned int pseudo;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum dom_select_syntax {
|
enum dom_select_syntax {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user