Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(data.isVariableLengthError(token)){
- errorMessage+="Error at "+currentLine+"| " +token+" have longer alphabets than 8 \n";
- errorCheck = true;
- ///errorTextArea.setText(tokenTable);
- //actionAreaTab.setSelectedIndex(1);
- //tokenTextArea.setText("");
- //break outerloop;
- }else if(data.isSpecialCharBetweenToken(token)){
- errorMessage+="Error at "+currentLine+"| " +token+" is an invalid token.Token had some special character\n";
- errorCheck = true;
- //errorTextArea.setText(tokenTable);
- //actionAreaTab.setSelectedIndex(1);
- //tokenTextArea.setText("");
- //break outerloop;
- }else if(data.isTokenContainSemicolon(token)){
- errorMessage+="Error at "+currentLine+" | " +token+" is an invalid token.Token contain semi-colon \n";
- errorCheck = true;
- //errorTextArea.setText(tokenTable);
- //actionAreaTab.setSelectedIndex(1);
- //tokenTextArea.setText("");
- //break outerloop;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement