--- a/yml2c Sat Jun 03 19:30:27 2017 +0200
+++ b/yml2c Thu Jun 08 23:30:58 2017 +0200
@@ -67,9 +67,9 @@
# fileinput suffer from two nasty bugs :
# - ignoring open hook with stdin
# - iterator requires ctrl-D to be pressed twice on some platform
- if args in [[],['-']] :
- files._files=[]
- files._buffer=[unicode(line, options.encoding) for line in sys.stdin.readlines()]
+ #if args in [[],['-']] :
+ # files._files=[]
+ # files._buffer=[unicode(line, options.encoding) for line in sys.stdin.readlines()]
ymlC = ymlCStyle()
result = parse(ymlC, files, True, comment, packrat=True)