基本稳定
This commit is contained in:
1 parent
0a10b20dde
commit
a39b5da0f8
27 files changed
+392
-962
No files matched your search
@@ -17,7 +17,7 @@ from .base import (
|
||||
_init_ast, _copy_str, _set_pos, _inherit_pos, _set_parent_list,
|
||||
_binop_from_op, _augop_from_op, _cmpop_from_op,
|
||||
_emit, _emit_str, _emit_int, _dump_list,
|
||||
dump,
|
||||
dump, _op_name,
|
||||
)
|
||||
# 语句节点
|
||||
from .stmts import (
|
||||
|
||||
@@ -553,6 +553,14 @@ def _read_string(lx: Lexer | t.CPtr):
|
||||
conv_buf[wpos] = '\t'
|
||||
elif next_ch == 'r':
|
||||
conv_buf[wpos] = '\r'
|
||||
elif next_ch == 'f':
|
||||
conv_buf[wpos] = '\f'
|
||||
elif next_ch == 'v':
|
||||
conv_buf[wpos] = '\v'
|
||||
elif next_ch == 'a':
|
||||
conv_buf[wpos] = '\a'
|
||||
elif next_ch == 'b':
|
||||
conv_buf[wpos] = '\b'
|
||||
elif next_ch == '\\':
|
||||
conv_buf[wpos] = '\\'
|
||||
elif next_ch == '\'':
|
||||
|
||||
Reference in new issue
Block a user