Browse code

Remove the redundant stripComment.

Signed-off-by: xuzhaokui <cynicholas@gmail.com>

xuzhaokui authored on 2014/11/09 23:12:54
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