changeset 248:891bab942b5a

Another adjustment for the drive letter problem. Need to actually check for a drive letter being specified when looking for a an open type prefix tag otherwise the drive letter prefix is considered as an open type.
author William Astle <lost@l-w.ca>
date Thu, 24 Jan 2013 21:24:32 -0700
parents 4b36eaaf80c3
children 1f1a28b797e1
files lwasm/input.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/input.c	Thu Jan 24 21:00:00 2013 -0700
+++ b/lwasm/input.c	Thu Jan 24 21:24:32 2013 -0700
@@ -203,7 +203,7 @@
 
 	for (s2 = s; *s2 && (*s2 != ':'); s2++)
 		/* do nothing */ ;
-	if (!*s2)
+	if (input_isabsolute(s) || !*s2)
 	{
 		t -> type = input_type_file;
 	}