private void checkM ( ) throws DatatypeException , IOException { if ( context . length ( ) == 0 ) { appendToContext ( current ) ; } current = reader . read ( ) ; appendToContext ( current ) ; skipSpaces ( ) ; checkArg ( ' ' , "x coordinate" ) ; skipCommaSpaces ( ) ; checkArg ( ' ' , "y coordinate" ) ; boolean expectNumber = skipCommaSpaces2 ( ) ; _checkL ( ' ' , expectNumber ) ; }
Checks an M command .