projects
/
430.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56df933
)
msp4th: cleanup
author
Dan White
<dan@whiteaudio.com>
Mon, 6 May 2013 05:08:36 +0000
(
00:08
-0500)
committer
Dan White
<dan@whiteaudio.com>
Mon, 6 May 2013 05:08:36 +0000
(
00:08
-0500)
msp4th/msp4th.c
patch
|
blob
|
history
diff --git
a/msp4th/msp4th.c
b/msp4th/msp4th.c
index 2dba1d1da4d04880d45ffea0968b7ef8dfcb75a3..b588f17baac0cdb62879016ef938aaf028c25a1b 100644
(file)
--- a/
msp4th/msp4th.c
+++ b/
msp4th/msp4th.c
@@
-719,12
+719,10
@@
void dfnFunc(){
// this function adds a new def to the list and creats a new opcode
i = 0;
while(wordBuffer[i]){
- cmdList[cmdListPtr] = wordBuffer[i];
- cmdListPtr = cmdListPtr + 1;
+ cmdList[cmdListPtr++] = wordBuffer[i];
i = i + 1;
}
- cmdList[cmdListPtr] = ' ';
- cmdListPtr = cmdListPtr + 1;
+ cmdList[cmdListPtr++] = ' ';
cmdList[cmdListPtr] = 0;
i = lookupToken(wordBuffer,cmdList);
progOps[i] = progPtr;