diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-12-18 10:16:26 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-12-18 21:04:22 +0100 |
commit | c9544e411dce8e1c9f0513dee55834779f32bcb0 (patch) | |
tree | 07d767e049957236d08d6d059a4e9ef4e737d27c /src/jtag/drivers/rlink.h | |
parent | 30da7c67cec8b315972377b5389735ff11f6042c (diff) | |
download | openocd+libswd-c9544e411dce8e1c9f0513dee55834779f32bcb0.tar.gz openocd+libswd-c9544e411dce8e1c9f0513dee55834779f32bcb0.tar.bz2 openocd+libswd-c9544e411dce8e1c9f0513dee55834779f32bcb0.tar.xz openocd+libswd-c9544e411dce8e1c9f0513dee55834779f32bcb0.zip |
script: support only Tcl comments
Only Tcl comments are now supported. For classic style
commands comments were supported at the end of the line.
Move in the direction of letting the script language
decide syntax, rather than have special rules for some
commands.
Before this patch goes in, the scripts should be updated
to use ;# instead of # for end of line comments.
> mdw 0 1 2
mdw ['phys'] address [count]
zy1000.cpu mdw address [count]
Command handler execution failed
in procedure 'mdw'
> mdw 0 1 #2
mdw ['phys'] address [count]
zy1000.cpu mdw address [count]
Command handler execution failed
in procedure 'mdw'
> mdw 0 1 ;#2
0x00000000: ffffffff
> mdw 0 1
0x00000000: ffffffff
> mdw 0
0x00000000: ffffffff
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/jtag/drivers/rlink.h')
0 files changed, 0 insertions, 0 deletions