Advertisement
Guest User

Untitled

a guest
Mar 6th, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.05 KB | None | 0 0
  1. if(data.isVariableLengthError(token)){
  2.  
  3.                                 errorMessage+="Error at "+currentLine+"|  " +token+" have longer alphabets than 8 \n";                                     
  4.                                 errorCheck = true;
  5.                                 ///errorTextArea.setText(tokenTable);
  6.                                 //actionAreaTab.setSelectedIndex(1);
  7.                                 //tokenTextArea.setText("");
  8.                                 //break outerloop;
  9.  
  10.                             }else if(data.isSpecialCharBetweenToken(token)){
  11.  
  12.                                 errorMessage+="Error at "+currentLine+"|  " +token+" is an invalid token.Token had some special character\n";
  13.                                 errorCheck = true;
  14.                                 //errorTextArea.setText(tokenTable);
  15.                                 //actionAreaTab.setSelectedIndex(1);
  16.                                 //tokenTextArea.setText("");
  17.                                 //break outerloop;
  18.  
  19.                             }else if(data.isTokenContainSemicolon(token)){
  20.  
  21.                                 errorMessage+="Error at "+currentLine+" |  " +token+" is an invalid token.Token contain semi-colon \n";
  22.                                 errorCheck = true;
  23.                                 //errorTextArea.setText(tokenTable);
  24.                                 //actionAreaTab.setSelectedIndex(1);
  25.                                 //tokenTextArea.setText("");
  26.                                 //break outerloop;
  27.  
  28.                             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement