summaryrefslogtreecommitdiff
path: root/opcodes.inc.m4
diff options
context:
space:
mode:
authorAstrid Smith2010-11-12 22:53:14 -0800
committerAstrid Smith2010-11-12 22:53:14 -0800
commitf335ec9611dee3d8ec350168728f97444031636e (patch)
tree092992b1fffacaf3fa1dfb1ec2fdf8a7713ba319 /opcodes.inc.m4
parentfa633c487cd038422b9677961838daf30fb05d16 (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