Commit 797132f7 authored by Dominik Charousset's avatar Dominik Charousset

Make epsilon transition conditional

parent 78681359
...@@ -244,7 +244,7 @@ void read_ipv6_address(state<Iterator, Sentinel>& ps, Consumer& consumer) { ...@@ -244,7 +244,7 @@ void read_ipv6_address(state<Iterator, Sentinel>& ps, Consumer& consumer) {
// Stops parsing after reading "::" (all-zero address) or proceeds with // Stops parsing after reading "::" (all-zero address) or proceeds with
// reading the suffix. // reading the suffix.
term_state(has_sep) { term_state(has_sep) {
epsilon(rd_suffix) epsilon(rd_suffix, hexadecimal_chars)
} }
// Read part of the prefix, i.e., everything before "::". // Read part of the prefix, i.e., everything before "::".
state(rd_prefix) { state(rd_prefix) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment