adjust source code intermixing symbol

This commit is contained in:
Ryan Fleury
2024-04-23 14:01:11 -07:00
parent 425626a275
commit 579e3e9637
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -458,7 +458,7 @@ dasm_parse_thread__entry_point(void *p)
{
DASM_Inst inst = {0};
dasm_inst_chunk_list_push(scratch.arena, &inst_list, 1024, &inst);
str8_list_pushf(scratch.arena, &inst_strings, "| %S", file_normalized_full_path);
str8_list_pushf(scratch.arena, &inst_strings, "> %S", file_normalized_full_path);
}
last_file = file;
}
@@ -490,7 +490,7 @@ dasm_parse_thread__entry_point(void *p)
{
DASM_Inst inst = {0};
dasm_inst_chunk_list_push(scratch.arena, &inst_list, 1024, &inst);
str8_list_pushf(scratch.arena, &inst_strings, "| %S", line_text);
str8_list_pushf(scratch.arena, &inst_strings, "> %S", line_text);
}
}
}
+1 -1
View File
@@ -1168,7 +1168,7 @@ txt_token_array_from_string__disasm_x64_intel(Arena *arena, U64 *bytes_processed
active_token_kind = TXT_TokenKind_Whitespace;
advance = 1;
}
else if(byte == '|')
else if(byte == '>')
{
active_token_start_off = off;
active_token_kind = TXT_TokenKind_Comment;