anchor.diff:  
   @lexer::header {
   package matlab;
  +}
  +
  +@lexer::members {
  +private static boolean isPreTransposeChar(int ch) {
  +    switch(ch) {
  +    case ')':
  +    case '}':
  +    case ']':
  +    case '_': //at the end of an identifier
  +    case '\'': //at the end of a transpose 
  +               //NB: if this was at the end of a string, it would have been an escape instead of a close quote
  +        return true;
  +    default:
  +        return Character.isLetterOrDigit(ch); //at the end of an identifier
  +    }
  +}
   }
   
   array :
  
positive.code: ELDIV : '.\\';
  MPOW : '^';
  EPOW : '.^';
  MTRANSPOSE : '\'';
  ARRAYTRANSPOSE : '.\'';
  LE : '<=';
  GE : '>=';
  
negative.code: fragment SCI_EXP : ('e' | 'E') ('+' | '-')? DIGIT+;
  fragment FP_NUMBER : (DIGIT+ '.' DIGIT*) | ('.' DIGIT+) SCI_EXP;
  NUMBER : (HEX_NUMBER | FP_NUMBER) ('i' | 'I' | 'j' | 'J')?;
  
  PLUS : '+';
  MINUS : '-';
  