]> andersk Git - libyaml.git/commitdiff
Forbid escaped singlequote in doublequotes
authorTina Müller <cpan2@tinita.de>
Wed, 29 Nov 2017 23:35:58 +0000 (00:35 +0100)
committerTina Müller <cpan2@tinita.de>
Sat, 2 Dec 2017 21:26:25 +0000 (22:26 +0100)
See also issue #68

src/scanner.c

index 8e2334fae40fe7005ba90a7aff39f7c5d8a48563..068dc1396902a9a1c675cbb499c8ef37ebe6dd0e 100644 (file)
@@ -3166,10 +3166,6 @@ yaml_parser_scan_flow_scalar(yaml_parser_t *parser, yaml_token_t *token,
                         *(string.pointer++) = '/';
                         break;
 
-                    case '\'':
-                        *(string.pointer++) = '\'';
-                        break;
-
                     case '\\':
                         *(string.pointer++) = '\\';
                         break;
This page took 0.037682 seconds and 5 git commands to generate.