Skip to content

Commit

Permalink
Colons can follow a mnemonic with -w
Browse files Browse the repository at this point in the history
  • Loading branch information
mungre committed Nov 6, 2023
1 parent ceb2de9 commit 92fff61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assemble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ int LineParser::GetInstructionAndAdvanceColumn(bool requireDistinctOpcodes)
std::string::size_type k = m_column + len;
if ( k < m_line.length() )
{
if ( ! isspace( m_line[ k ] ) )
if ( !isspace( m_line[ k ] ) && m_line[ k ] != ':' )
{
bMatch = false;
}
Expand Down

0 comments on commit 92fff61

Please sign in to comment.