mirror of https://github.com/WerWolv/ImHex.git
Fix //-style comments not working on last line
This commit is contained in:
parent
c863b2f65b
commit
b28d45df8a
|
@ -96,6 +96,9 @@ namespace hex::lang {
|
|||
|
||||
const char& c = code[offset];
|
||||
|
||||
if (c == 0x00)
|
||||
break;
|
||||
|
||||
if (std::isblank(c) || std::isspace(c)) {
|
||||
offset += 1;
|
||||
} else if (c == ';') {
|
||||
|
|
Loading…
Reference in New Issue