aboutsummaryrefslogtreecommitdiffstats
path: root/prog
diff options
context:
space:
mode:
Diffstat (limited to 'prog')
-rw-r--r--prog/encoding.go4
-rw-r--r--prog/prog.go5
2 files changed, 0 insertions, 9 deletions
diff --git a/prog/encoding.go b/prog/encoding.go
index 41a03d9fd..5d2750630 100644
--- a/prog/encoding.go
+++ b/prog/encoding.go
@@ -1185,10 +1185,6 @@ func (p *parser) Err() error {
return p.e
}
-func (p *parser) Str() string {
- return p.s
-}
-
func (p *parser) EOF() bool {
return p.i == len(p.s)
}
diff --git a/prog/prog.go b/prog/prog.go
index 27b46c541..89b0e794b 100644
--- a/prog/prog.go
+++ b/prog/prog.go
@@ -475,11 +475,6 @@ func removeArg(arg0 Arg) {
})
}
-// RemoveArg is the public alias for the removeArg method.
-func RemoveArg(arg Arg) {
- removeArg(arg)
-}
-
// RemoveCall removes call idx from p.
func (p *Prog) RemoveCall(idx int) {
c := p.Calls[idx]