add special character \e.

This commit is contained in:
ValKmjolnir
2022-02-18 01:58:49 +08:00
parent 05fc5db337
commit e77bb73a82
4 changed files with 27 additions and 1 deletions
+1
View File
@@ -239,6 +239,7 @@ std::string nasal_lexer::str_gen()
case '0': str+='\0'; break;
case 'a': str+='\a'; break;
case 'b': str+='\b'; break;
case 'e': str+='\e'; break;
case 't': str+='\t'; break;
case 'n': str+='\n'; break;
case 'v': str+='\v'; break;