Loading ...
Sorry, an error occurred while loading the content.

Bug in Cross Reference tool

Expand Messages
  • Jim O'Connor
    Cross reference tool Refs.g BUG - scope should not be the pararmeter to currentScope.addImport(); This case rarely happens. Fix -
    Message 1 of 1 , Aug 25, 2003
    • 0 Attachment
      Cross reference tool

      Refs.g

      BUG - "scope" should not be the pararmeter to currentScope.addImport();
      This case rarely happens.

      Fix - currentScope.addImport(cs);
      // System.out.println("import class "+cs);




      //Original code
      packageOrClassIdentifier
      {
      String r = null;
      Scope scope = null;
      }
      : IDENT
      {
      FileScope currentScope = (FileScope)scopeStack.peek();
      ClassScope cs=project.getClassScope(#IDENT.getText());
      currentScope.addImport(scope);
      // System.out.println("import class "+scope);
      }
    Your message has been successfully submitted and would be delivered to recipients shortly.