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 <[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]