aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/obj.c b/obj.c
index f896214..1b0f026 100644
--- a/obj.c
+++ b/obj.c
@@ -280,7 +280,7 @@ objparse(char *file)
}
do{
*p++ = c;
- }while(c = Bgetc(bin), isalnum(c) && p-buf < sizeof(buf)-1);
+ }while(c = Bgetc(bin), (isalnum(c) || c == '.' || c == '_') && p-buf < sizeof(buf)-1);
*p = 0;
o = geto(obj, buf);
if(o == nil){