changeset 197:12fb4e8d5236

Add .end as synonym for end
author lost
date Sun, 22 Mar 2009 18:01:30 +0000
parents e7309c716059
children 6ddc861a07d4
files lwasm/instab.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/instab.c	Sun Mar 22 17:58:43 2009 +0000
+++ b/lwasm/instab.c	Sun Mar 22 18:01:30 2009 +0000
@@ -414,6 +414,9 @@
 // needs to handle C escapes maybe?
 //	{ ".ascii",	{ -1, -1, -1, -1},	pseudo_ascii },
 
+	// for compatibility
+	{ ".end", 	{ -1, -1, -1, -1 }, pseudo_end },
+
 	/* flag end of table */	
 	{ NULL,		{ -0x1, -0x1, -0x1, -0x1 }, insn_inh }
 };