mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Take code from stdin. Version bump.
This commit is contained in:
committed by
Christoffer Lerno
parent
f8f249ee2c
commit
7d58ce0dcb
@@ -242,6 +242,11 @@ void sema_analysis_run(void)
|
||||
if (loaded) continue;
|
||||
if (!parse_file(file)) has_error = true;
|
||||
}
|
||||
if (active_target.read_stdin)
|
||||
{
|
||||
if (!parse_stdin()) has_error = true;
|
||||
}
|
||||
|
||||
if (has_error) exit_compiler(EXIT_FAILURE);
|
||||
compiler_parsing_time = bench_mark();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user