Professional Documents
Culture Documents
File
File
class Lexer {
static boolean isPrime ( int c ) // Returns true if c is prime.
{
if ( c % 2 == 0 )
return false ;
String s = " This is an invalid string literal ///error
int 9R ;
R = 3 ;
while ( R != c )
{
if ( c % R == 0 )
return false ;
R = R + 8 ;
}
String s = "This is a useless string literal" ;
return true ;
}
int m ;
int &ab45 ; ///error
m = b % a ;
if ( m == 0 )
return a ;
else
return gcd ( m , a ) ;
}