Skip to content
Snippets Groups Projects
Commit bedf902e authored by Jan Trávníček's avatar Jan Trávníček
Browse files

cli: allow _ inidentifier

parent a643cc9d
No related branches found
No related tags found
Loading
...@@ -305,7 +305,7 @@ q3: if ( m_source.getCharacter ( ) == '\0' ) { ...@@ -305,7 +305,7 @@ q3: if ( m_source.getCharacter ( ) == '\0' ) {
if ( ( m_source.getCharacter ( ) >= '0' && m_source.getCharacter ( ) <= '9' ) if ( ( m_source.getCharacter ( ) >= '0' && m_source.getCharacter ( ) <= '9' )
|| ( m_source.getCharacter ( ) >= 'a' && m_source.getCharacter ( ) <= 'z' ) || ( m_source.getCharacter ( ) >= 'a' && m_source.getCharacter ( ) <= 'z' )
|| ( m_source.getCharacter ( ) >= 'A' && m_source.getCharacter ( ) <= 'Z' ) || ( m_source.getCharacter ( ) >= 'A' && m_source.getCharacter ( ) <= 'Z' )
|| ( m_source.getCharacter ( ) == ':' ) ) { || ( m_source.getCharacter ( ) == ':' || m_source.getCharacter ( ) == '_' ) ) {
res.m_raw += static_cast < char > ( m_source.getCharacter ( ) ); res.m_raw += static_cast < char > ( m_source.getCharacter ( ) );
res.m_value += static_cast < char > ( m_source.getCharacter ( ) ); res.m_value += static_cast < char > ( m_source.getCharacter ( ) );
m_source.advance ( readNextLine ); m_source.advance ( readNextLine );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment