Skip to content

Commit

Permalink
Forbid escaped singlequote in doublequotes
Browse files Browse the repository at this point in the history
See also issue #68
  • Loading branch information
perlpunk committed Dec 1, 2017
1 parent fd5bf68 commit 3342b11
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/scanner.c
Expand Up @@ -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;
Expand Down

0 comments on commit 3342b11

Please sign in to comment.