You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ch...@apache.org on 2023/05/05 08:32:10 UTC

[eventmesh-workflow] branch main updated: fixes#3760

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


The following commit(s) were added to refs/heads/main by this push:
     new 0974c42  fixes#3760
     new 22cf997  Merge pull request #3 from nikam14/patch-2
0974c42 is described below

commit 0974c4204367597815553c657ddeb8f52656aa04
Author: maheshnikam <55...@users.noreply.github.com>
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: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org