diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:40:33 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-23 22:40:33 +0000 |
commit | 6319ea33f7369823043eaefdb72b7463e760be27 (patch) | |
tree | d91702e6b2722e9a9cedb0a92bea31491520ed65 /src/helper | |
parent | 4ce93ac479c29210c4b472a16733bed2537c35f9 (diff) | |
download | riscv-openocd-6319ea33f7369823043eaefdb72b7463e760be27.zip riscv-openocd-6319ea33f7369823043eaefdb72b7463e760be27.tar.gz riscv-openocd-6319ea33f7369823043eaefdb72b7463e760be27.tar.bz2 |
- Fixes '<=' whitespace
- Replace '\(\w\)\(<=\)\(\w\)' with '\1 \2 \3'.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2368 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r-- | src/helper/jim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/jim.c b/src/helper/jim.c index e5d2d4d..58241d4 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -6955,7 +6955,7 @@ int Jim_EvalExpression(Jim_Interp *interp, Jim_Obj *exprObjPtr, case JIM_EXPROP_MUL: wC = wA*wB; break; case JIM_EXPROP_LT: wC = wA<wB; break; case JIM_EXPROP_GT: wC = wA>wB; break; - case JIM_EXPROP_LTE: wC = wA<=wB; break; + case JIM_EXPROP_LTE: wC = wA <= wB; break; case JIM_EXPROP_GTE: wC = wA >= wB; break; case JIM_EXPROP_LSHIFT: wC = wA<<wB; break; case JIM_EXPROP_RSHIFT: wC = wA>>wB; break; @@ -7060,7 +7060,7 @@ trydouble: case JIM_EXPROP_MUL: dC = dA*dB; break; case JIM_EXPROP_LT: dC = dA<dB; break; case JIM_EXPROP_GT: dC = dA>dB; break; - case JIM_EXPROP_LTE: dC = dA<=dB; break; + case JIM_EXPROP_LTE: dC = dA <= dB; break; case JIM_EXPROP_GTE: dC = dA >= dB; break; case JIM_EXPROP_NUMEQ: dC = dA==dB; break; case JIM_EXPROP_NUMNE: dC = dA != dB; break; |