remove debug grep to show translated C source with line numbers

This commit is contained in:
Josh Holtrop 2011-08-31 10:28:24 -04:00
parent a2050cd5a0
commit 49a061da2f

1
jtlc
View File

@ -71,7 +71,6 @@ def translate(args, source, dest):
return Compiler(result).compile(dest) return Compiler(result).compile(dest)
def do_compile(args, source_fname, ofname): def do_compile(args, source_fname, ofname):
Popen(['grep', '-n', '.', source_fname]).wait()
rc = Popen(['gcc', '-o', ofname, '-c', source_fname]).wait() rc = Popen(['gcc', '-o', ofname, '-c', source_fname]).wait()
return rc == 0 return rc == 0