tjysdsg / tan

A programming language for fun

Home Page:https://tjysdsg.github.io/tan/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support escape sequences inside string literals

todo opened this issue · comments

commented

tan/src/lexer/lexer.cpp

Lines 155 to 160 in 12ad011

// TODO: support escape sequences inside string literals
// TODO: check line breaks inside two quotation marks
token *tokenize_string(Reader *reader, code_ptr &start) {
token *t = nullptr;
auto forward = reader->forward_ptr(start);
forward = skip_until(reader, forward, '"');


This issue was generated by todo based on a TODO comment in 12ad011 when #6 was merged. cc @tjysdsg.