Reverted flags
This commit is contained in:
parent
a2e40d9d10
commit
4f6a29f57d
|
@ -12,8 +12,8 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||||
WITH REGARD TO THIS SOFTWARE.
|
WITH REGARD TO THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define MODE_RETURN 0x20
|
#define MODE_SHORT 0x20
|
||||||
#define MODE_SHORT 0x40
|
#define MODE_RETURN 0x40
|
||||||
#define MODE_KEEP 0x80
|
#define MODE_KEEP 0x80
|
||||||
|
|
||||||
#pragma mark - Operations
|
#pragma mark - Operations
|
||||||
|
|
|
@ -88,10 +88,10 @@ findopcode(char *s)
|
||||||
if(!scmp(ops[i], s, 3))
|
if(!scmp(ops[i], s, 3))
|
||||||
continue;
|
continue;
|
||||||
while(s[3 + m]) {
|
while(s[3 + m]) {
|
||||||
if(s[3 + m] == 'r')
|
if(s[3 + m] == '2')
|
||||||
i |= (1 << 5); /* mode: return */
|
i |= (1 << 5); /* mode: short */
|
||||||
else if(s[3 + m] == '2')
|
else if(s[3 + m] == 'r')
|
||||||
i |= (1 << 6); /* mode: short */
|
i |= (1 << 6); /* mode: return */
|
||||||
else if(s[3 + m] == 'k')
|
else if(s[3 + m] == 'k')
|
||||||
i |= (1 << 7); /* mode: keep */
|
i |= (1 << 7); /* mode: keep */
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue