private void parseRule ( Rule rule ) { ruleStack . add ( rule ) ; for ( ; ; ) { int ch = reader . nextBlockMarker ( ) ; switch ( ch ) { case - 1 : throw createException ( "Unexpected end of Less data" ) ; case ' ' : parseSemicolon ( rule ) ; break ; case ' ' : parseBlock ( rule ) ; break ; case ' ' : parseSemicolon ( rule ) ; ruleStack . removeLast ( ) ; return ; default : throw createException ( "Unrecognized input: '" + reader . getLookAhead ( ) + "'" ) ; } } }
Parse the content of an block .