summaryrefslogtreecommitdiff
path: root/opcodes.inc.m4
diff options
context:
space:
mode:
authorDuncan Smith2010-11-12 22:53:14 -0800
committerDuncan Smith2010-11-12 22:53:14 -0800
commit3bacf3b72e46ff709456984a2bd281300b6382d5 (patch)
treece95f45b0460397b0c74536b0e01f71131d1a61a /opcodes.inc.m4
parent034c331c12a31e67a2494cff784de22d0bbc52bd (diff)
Protection added to prevent m4 from emitting "TIME ,"
Diffstat (limited to 'opcodes.inc.m4')
-rw-r--r--opcodes.inc.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes.inc.m4 b/opcodes.inc.m4
index 95195b4..70ffb2c 100644
--- a/opcodes.inc.m4
+++ b/opcodes.inc.m4
@@ -8,6 +8,6 @@ dnl # end_10, and is undefined everywhere else.
define(`local',$`'1_``$1'')dnl
`emu_op_'$1`:'
$2
- TIME $3,$4
+ TIME $3 ifelse(`, $4', `, ', `', `, $4')
undefine(`label')dnl
DONE')dnl