[parrot/parrot] cb9cba: remove some duplicated code in imcc_compile_file. ...
noreply at github.com
noreply at github.com
Mon Jan 24 02:53:17 UTC 2011
Branch: refs/heads/whiteknight/imcc_interfaces
Home: https://github.com/parrot/parrot
Commit: cb9cbab120bee43e4619fc34f8bb7bc7a96f6ac3
https://github.com/parrot/parrot/commit/cb9cbab120bee43e4619fc34f8bb7bc7a96f6ac3
Author: Whiteknight <wknight8111 at gmail.com>
Date: 2011-01-23 (Sun, 23 Jan 2011)
Changed paths:
M compilers/imcc/imc.h
M compilers/imcc/imcc.l
M compilers/imcc/imclexer.c
M compilers/imcc/main.c
Log Message:
-----------
remove some duplicated code in imcc_compile_file. IMCC_push_parser state takes two more args, since they are almost always set at the same time. do_pre_process now takes the source file name to provide this information
Commit: 208e98a8ce95926aaafb07d30aed795240373262
https://github.com/parrot/parrot/commit/208e98a8ce95926aaafb07d30aed795240373262
Author: Whiteknight <wknight8111 at gmail.com>
Date: 2011-01-23 (Sun, 23 Jan 2011)
Changed paths:
M compilers/imcc/imc.h
M compilers/imcc/main.c
M include/parrot/interpreter.h
M src/embed.c
M src/interp/inter_misc.c
Log Message:
-----------
IMCC interfaces all take a STRING* instead of a char*. Move GC manipulations out of IMCC. Misc other cleanups
Commit: 5625b05ffca714ded102390007479d247cb8fadb
https://github.com/parrot/parrot/commit/5625b05ffca714ded102390007479d247cb8fadb
Author: Whiteknight <wknight8111 at gmail.com>
Date: 2011-01-23 (Sun, 23 Jan 2011)
Changed paths:
M compilers/imcc/main.c
Log Message:
-----------
start cleaning up imcc_compile_file. use determine_input_file_type to open the file and check for errors to reduce duplicated code. Remove GC block/unblock
Commit: 7c36857a217add54ecb6d13329f692dc92fc6dfa
https://github.com/parrot/parrot/commit/7c36857a217add54ecb6d13329f692dc92fc6dfa
Author: Whiteknight <wknight8111 at gmail.com>
Date: 2011-01-23 (Sun, 23 Jan 2011)
Changed paths:
M compilers/imcc/main.c
M src/interp/inter_misc.c
Log Message:
-----------
move context-related logic out of imcc_compile_file. IMCC can assume we have a fresh context available. misc cleanups
Commit: b8b1aef0bdb4efa3d5a0c0df3c985b1c25efea5f
https://github.com/parrot/parrot/commit/b8b1aef0bdb4efa3d5a0c0df3c985b1c25efea5f
Author: Whiteknight <wknight8111 at gmail.com>
Date: 2011-01-23 (Sun, 23 Jan 2011)
Changed paths:
M compilers/imcc/main.c
Log Message:
-----------
break out functions to setup/teardown bookkeeping for reentrant compile. BUILD IS BROKEN. Will fix it tomorrow morning
More information about the parrot-commits
mailing list