[parser] Adding country_region label to parser as a boundary component

This commit is contained in:
Al
2016-07-28 15:19:48 -04:00
parent 854e6d901f
commit c6af5cc071
2 changed files with 7 additions and 0 deletions

View File

@@ -95,6 +95,7 @@ typedef enum {
ADDRESS_PARSER_ISLAND,
ADDRESS_PARSER_STATE,
ADDRESS_PARSER_POSTAL_CODE,
ADDRESS_PARSER_COUNTRY_REGION,
ADDRESS_PARSER_COUNTRY,
NUM_ADDRESS_PARSER_TYPES
} address_parser_components;
@@ -109,6 +110,7 @@ typedef enum {
#define ADDRESS_PARSER_LABEL_ISLAND "island"
#define ADDRESS_PARSER_LABEL_STATE "state"
#define ADDRESS_PARSER_LABEL_POSTAL_CODE "postcode"
#define ADDRESS_PARSER_LABEL_COUNTRY "country_region"
#define ADDRESS_PARSER_LABEL_COUNTRY "country"
typedef union address_parser_types {