forked from qt-creator/qt-creator
		
	Compile fix
Change-Id: I8f3eb7d21074fec00de870d33e493842286222ee Reviewed-on: http://codereview.qt.nokia.com/51 Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com>
This commit is contained in:
		
				
					committed by
					
						
						Christian Kamm
					
				
			
			
				
	
			
			
			
						parent
						
							f027b1da87
						
					
				
				
					commit
					a3c9cb995d
				
			@@ -166,22 +166,22 @@ static int findRegExpEnd(const QString &text, int start)
 | 
			
		||||
 | 
			
		||||
static inline int multiLineState(int state)
 | 
			
		||||
{
 | 
			
		||||
    return state & 0b11;
 | 
			
		||||
    return state & 0x3;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static inline void setMultiLineState(int *state, int s)
 | 
			
		||||
{
 | 
			
		||||
    *state = s | (*state & ~0b11);
 | 
			
		||||
    *state = s | (*state & ~0x3);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static inline bool regexpMayFollow(int state)
 | 
			
		||||
{
 | 
			
		||||
    return state & 0b100;
 | 
			
		||||
    return state & 0x4;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static inline void setRegexpMayFollow(int *state, bool on)
 | 
			
		||||
{
 | 
			
		||||
    *state = (on << 2) | (*state & 0b11);
 | 
			
		||||
    *state = (on << 2) | (*state & 0x3);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
QList<Token> Scanner::operator()(const QString &text, int startState)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user