Skip to content

Commit

Permalink
chore: remove unused duplicate function
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Jul 3, 2023
1 parent ac8b47a commit 64cf905
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,6 @@ static inline void set_end_character(Delimiter *delimiter, int32_t character) {
}
}

static inline const char *delimiter_string(Delimiter *delimiter) {
if (delimiter->flags & SingleQuote) {
return "\'";
}
if (delimiter->flags & DoubleQuote) {
return "\"";
}
if (delimiter->flags & BackQuote) {
return "`";
}
return "";
}

typedef struct {
uint32_t len;
uint32_t cap;
Expand Down

0 comments on commit 64cf905

Please sign in to comment.