Browse code

Merge pull request #9048 from coaku/b_xzk_rm_redundant_trim

Remove redundant stripComment

Erik Hollensbe authored on 2014/11/11 14:53:22
Showing 1 changed files
... ...
@@ -103,10 +103,6 @@ func Parse(rwc io.Reader) (*Node, error) {
103 103
 
104 104
 	for scanner.Scan() {
105 105
 		scannedLine := strings.TrimLeftFunc(scanner.Text(), unicode.IsSpace)
106
-		if stripComments(scannedLine) == "" {
107
-			continue
108
-		}
109
-
110 106
 		line, child, err := parseLine(scannedLine)
111 107
 		if err != nil {
112 108
 			return nil, err