/*
    The first set of errors are context free (scanner and parser) errors.
    The second set of errors are name binding (symbol table) errors
    and certain context sensitive errors.
    The last errors are the return statement error and the y un-initialized error.

    Compile this with the -verbose compiler command line option to get more information.
*/

public class SyntaxDem0
{
   public static int method1(int n)
   {
      n++;
   }

   public static void main(String[] args)
   {
      int x = 08

      int y = y+;

      method(w);

      y = method1(2, 3);

      x = Math.max(x,y,0);

      if (false)
        System.out.println("not here);
   }