remove debug grep to show translated C source with line numbers
This commit is contained in:
parent
a2050cd5a0
commit
49a061da2f
1
jtlc
1
jtlc
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user