Commit 8e30d42b authored by Yuan Zhixiang's avatar Yuan Zhixiang
Browse files

指针变量前加上 *

parent a175695c
...@@ -53,6 +53,9 @@ const display_name = computed(() => { // 最终显示的变量名称 ...@@ -53,6 +53,9 @@ const display_name = computed(() => { // 最终显示的变量名称
if (is_struct.value) { if (is_struct.value) {
return '#' + var_name.value + '(' + var_content.value[2] + ')' return '#' + var_name.value + '(' + var_content.value[2] + ')'
} }
if(is_pointer.value){
return '*' + var_name.value
}
return var_name.value return var_name.value
} else { } else {
return '$' + var_name.value.substring(0, spaceIndex) return '$' + var_name.value.substring(0, spaceIndex)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment