Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
This seems to be unused in Yojson and Atd
  • Loading branch information
Leonidas-from-XIV committed May 31, 2024
1 parent 73a5166 commit 8bbbc1f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/read.mll
Original file line number Diff line number Diff line change
Expand Up @@ -771,15 +771,6 @@ and finish_buffer_stringlit v = parse
| _ { long_error "Invalid string literal" v lexbuf }
| eof { custom_error "Unexpected end of input" v lexbuf }

and finish_buffer_variant v = parse
':' { Buffer.add_char v.buf ':';
buffer_json v lexbuf;
buffer_space v lexbuf;
buffer_gt v lexbuf }
| '>' { Buffer.add_char v.buf '>' }
| _ { long_error "Expected ':' or '>' but found" v lexbuf }
| eof { custom_error "Unexpected end of input" v lexbuf }

and buffer_ident v = parse
'"' { finish_buffer_stringlit v lexbuf }
| ident { add_lexeme v.buf lexbuf }
Expand Down

0 comments on commit 8bbbc1f

Please sign in to comment.