Signed-off-by: xuzhaokui <cynicholas@gmail.com>
| ... | ... |
@@ -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 |