# File lib/kwalify/parser/yaml.rb, line 673 def parse_flow_scalar(rule, path, uniq_table) ch = peep(1) _linenum = @linenum #*V _column = @column #*V if ch == '"' || ch == "'" val = scan_string() else str = scan(/[^,\]\}\#]*/) if match?(/,\S/) while match?(/,\S/) str << scan(/./) str << scan(/[^,\]\}\#]*/) end end str.rstrip! val = to_scalar(str) end val = create_scalar(rule, val, _linenum, _column) #*V #_set_error_info(_linenum, _column) do #*V # @validator._validate_unique(val, rule, path, @errors, uniq_table) #*V #end if uniq_table #*V skip_spaces_and_comments() return val end