This is an automated email from the ASF dual-hosted git repository.

chenguangsheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/eventmesh-workflow.git

commit 0974c4204367597815553c657ddeb8f52656aa04
Author: maheshnikam <[email protected]>
AuthorDate: Fri Apr 21 15:58:05 2023 +0530

    fixes#3760
---
 third_party/lexer/rune_stack.go | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/third_party/lexer/rune_stack.go b/third_party/lexer/rune_stack.go
index b0a6fef..e32e541 100644
--- a/third_party/lexer/rune_stack.go
+++ b/third_party/lexer/rune_stack.go
@@ -41,11 +41,10 @@ func (s *runeStack) push(r rune) {
 func (s *runeStack) pop() rune {
        if s.start == nil {
                return EOFRune
-       } else {
-               n := s.start
-               s.start = n.next
-               return n.r
-       }
+       } 
+       n := s.start
+       s.start = n.next
+       return n.r
 }
 
 func (s *runeStack) clear() {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to