Update import statements after merge

This commit is contained in:
Peter Boyer 2016-11-05 16:36:53 -04:00
parent 37631d1197
commit fc35818c52
3 changed files with 10 additions and 10 deletions

View File

@ -10,5 +10,5 @@
Reference the go runtime package like this:
```go
import "github.com/pboyer/antlr4/runtime/Go/antlr"
import "github.com/antlr/antlr4/runtime/Go/antlr"
```

View File

@ -110,7 +110,7 @@ public abstract class BaseTest {
public File tmpdir = null;
public File parserpkgdir = null; // this is where the parser package is stored, typically inside the tmpdir
private static File tmpGopath = null;
private static final String GO_RUNTIME_IMPORT_PATH = "github.com/pboyer/antlr4/runtime/Go/antlr"; // TODO: Change this before merging with upstream
private static final String GO_RUNTIME_IMPORT_PATH = "github.com/antlr/antlr4/runtime/Go/antlr"; // TODO: Change this before merging with upstream
/**
* If error during parser execution, store stderr here; can't return stdout
@ -839,7 +839,7 @@ public abstract class BaseTest {
ST outputFileST = new ST(
"package main\n" +
"import (\n"
+" \"github.com/pboyer/antlr4/runtime/Go/antlr\"\n"
+" \"github.com/antlr/antlr4/runtime/Go/antlr\"\n"
+" \"./parser\"\n"
+" \"os\"\n"
+")\n"
@ -894,7 +894,7 @@ public abstract class BaseTest {
ST outputFileST = new ST(
"package main\n" +
"import (\n"
+ " \"github.com/pboyer/antlr4/runtime/Go/antlr\"\n"
+ " \"github.com/antlr/antlr4/runtime/Go/antlr\"\n"
+ " \"./parser\"\n"
+ " \"os\"\n"
+ " \"fmt\"\n"

View File

@ -16,7 +16,7 @@ import (
"reflect"
"strconv"
"github.com/pboyer/antlr4/runtime/Go/antlr"
"github.com/antlr/antlr4/runtime/Go/antlr"
)
<if(namedActions.header)>
@ -45,7 +45,7 @@ package <file.genPackage> // <file.grammarName>
package parser // <file.grammarName>
<endif>
import "github.com/pboyer/antlr4/runtime/Go/antlr"
import "github.com/antlr/antlr4/runtime/Go/antlr"
// <file.grammarName>Listener is a complete listener for a parse tree produced by <file.parserName>.
type <file.grammarName>Listener interface {
@ -69,7 +69,7 @@ package <file.genPackage> // <file.grammarName>
package parser // <file.grammarName>
<endif>
import "github.com/pboyer/antlr4/runtime/Go/antlr"
import "github.com/antlr/antlr4/runtime/Go/antlr"
// Base<file.grammarName>Listener is a complete listener for a parse tree produced by <file.parserName>.
type Base<file.grammarName>Listener struct{}
@ -105,7 +105,7 @@ package <file.genPackage> // <file.grammarName>
package parser // <file.grammarName>
<endif>
import "github.com/pboyer/antlr4/runtime/Go/antlr"
import "github.com/antlr/antlr4/runtime/Go/antlr"
<if(header)>
<header>
@ -131,7 +131,7 @@ package <file.genPackage> // <file.grammarName>
package parser // <file.grammarName>
<endif>
import "github.com/pboyer/antlr4/runtime/Go/antlr"
import "github.com/antlr/antlr4/runtime/Go/antlr"
type Base<file.grammarName>Visitor struct {
*antlr.BaseParseTreeVisitor
@ -1340,7 +1340,7 @@ import (
"fmt"
"unicode"
"github.com/pboyer/antlr4/runtime/Go/antlr"
"github.com/antlr/antlr4/runtime/Go/antlr"
)
<if(namedActions.header)>