]> git.sur5r.net Git - openocd/commit
The changes allows the "script" command to be used from within
authormifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 17 Dec 2007 17:00:24 +0000 (17:00 +0000)
committermifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Mon, 17 Dec 2007 17:00:24 +0000 (17:00 +0000)
commita66df4104e6d4ec4b5bd4c1b8eda238af00010ab
tree1e38917144bc40224dd0f757907eda4b71a70f5c
parentd00cc228d38496122a8abc54d3d1842e41ecbb1a
The changes allows the "script" command to be used from within
config scripts to run sub-config scripts, which was probably the
original intention because "script" is registered as COMMAND_ANY.

This can be useful in e.g. splitting CPU and flash config scripts.

(thanks to oyvind Harboe for the patch)

git-svn-id: svn://svn.berlios.de/openocd/trunk@236 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/helper/interpreter.c