linux_demon: fix incorrect arena buckets for probe parsing, fix zero process being incorrectly used (snap process to thread process, if wait_id does not refer to any process itself; text: fix treating R"'s as starting a herestring, if ending a non-herestring

This commit is contained in:
Ryan Fleury committed 2026-08-13 12:28:06 -07:00
1 parent 604a244473
commit 08d25fa39d
2 files changed
+22 -10

No files matched your search

+5 -1
View File
@@ -3936,7 +3936,11 @@ txt_artifact_create(String8 key, B32 *cancel_signal, AC_Status *status_out, U64
default:{}break;
case TXT_TokenKind_String:
{
if(herestring_marker.size == 0 && byte == '"')
if(byte == 'R' && next_byte == '"')
{
active_token_end_off = off+2;
}
else if(herestring_marker.size == 0 && byte == '"')
{
active_token_end_off = off+1;
}