Opened 4 years ago

#35 new task

JPlag server side: Generate new J_ELSEIF token to remove large amounts of J_IF_END tokens

Reported by: lama Owned by:
Priority: normal Component: OldTodo
Keywords: Cc:

Description

using a new flag for both ifStatement and Statement. Will this work for the following cases?

      if();
      else {
        if();
        blub;
      }
      
      if();
      else if();
      else if();
      else {
        if();
        else;
      }
      // here "else" would be illegal!

      if();
      else if() {
      }
      else if();
      else {
        if();
        else;
      }
      
      if();
      else {
        if();
      }
      if();

Change History (0)

Note: See TracTickets for help on using tickets.