[Groonga-commit] groonga/grnci at 7bc792d [master] Fix a bug that an escape for EOL is handled as a parameter

Back to archive index

Susumu Yata null+****@clear*****
Thu Oct 19 17:45:23 JST 2017


Susumu Yata	2017-10-19 17:45:23 +0900 (Thu, 19 Oct 2017)

  New Revision: 7bc792d07d713cab400e33bc8b7a5819ff442d98
  https://github.com/groonga/grnci/commit/7bc792d07d713cab400e33bc8b7a5819ff442d98

  Message:
    Fix a bug that an escape for EOL is handled as a parameter

  Modified files:
    v2/command.go

  Modified: v2/command.go (+3 -0)
===================================================================
--- v2/command.go    2017-09-14 17:58:24 +0900 (04d1255)
+++ v2/command.go    2017-10-19 17:45:23 +0900 (08b2d86)
@@ -716,6 +716,9 @@ func tokenizeCommand(cmd string) ([]string, error) {
 				}
 			}
 			s = s[i:]
+			if len(token) == 0 {
+				continue
+			}
 		}
 		tokens = append(tokens, string(token))
 		token = token[:0]
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171019/9b489073/attachment.htm 



More information about the Groonga-commit mailing list
Back to archive index