mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-21 00:39:53 +00:00
Clarify a no-content loop.
This commit is contained in:
parent
1fb8060263
commit
bdb08c58d3
@ -160,7 +160,7 @@ bool CompilePPUProgram::IsEnd() const { return p >= (s64)m_asm.length(); }
|
|||||||
bool CompilePPUProgram::IsEndLn(const char c) const { return c == '\n' || p - 1 >= (s64)m_asm.length(); }
|
bool CompilePPUProgram::IsEndLn(const char c) const { return c == '\n' || p - 1 >= (s64)m_asm.length(); }
|
||||||
|
|
||||||
char CompilePPUProgram::NextChar() { return *m_asm.substr(p++, 1).c_str(); }
|
char CompilePPUProgram::NextChar() { return *m_asm.substr(p++, 1).c_str(); }
|
||||||
void CompilePPUProgram::NextLn() { while( !IsEndLn(NextChar()) ); if(!IsEnd()) m_line++; }
|
void CompilePPUProgram::NextLn() { while( !IsEndLn(NextChar()) ) continue; if(!IsEnd()) m_line++; }
|
||||||
void CompilePPUProgram::EndLn()
|
void CompilePPUProgram::EndLn()
|
||||||
{
|
{
|
||||||
NextLn();
|
NextLn();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user