diff options
Diffstat (limited to 'example/math_expression')
-rw-r--r-- | example/math_expression/main.go | 3 | ||||
-rw-r--r-- | example/math_expression/rpn.go | 2 | ||||
-rw-r--r-- | example/math_expression/stack.go | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/example/math_expression/main.go b/example/math_expression/main.go index 5cabaa6..b89a28b 100644 --- a/example/math_expression/main.go +++ b/example/math_expression/main.go @@ -3,7 +3,7 @@ package main import ( "fmt" - "go.neonxp.ru/unilex" + "neonxp.ru/go/unilex" ) const ( @@ -14,7 +14,6 @@ const ( ) func main() { - l := unilex.New("10 * (20.0 + 30.0)") go l.Run(lexExpression) // Start lexer diff --git a/example/math_expression/rpn.go b/example/math_expression/rpn.go index 65d9bf8..7027009 100644 --- a/example/math_expression/rpn.go +++ b/example/math_expression/rpn.go @@ -7,7 +7,7 @@ import ( "log" "strconv" - "go.neonxp.ru/unilex" + "neonxp.ru/go/unilex" ) var opPriority = map[string]int{ diff --git a/example/math_expression/stack.go b/example/math_expression/stack.go index d690f4e..3f610ad 100644 --- a/example/math_expression/stack.go +++ b/example/math_expression/stack.go @@ -2,7 +2,7 @@ package main // Simple lexem stack implementation. -import "go.neonxp.ru/unilex" +import "neonxp.ru/go/unilex" type lexemStack []unilex.Lexem |