summary refs log tree commit diff
path: root/lisc/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'lisc/parse.c')
-rw-r--r--lisc/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/parse.c b/lisc/parse.c
index 10fc0a3..a5c6040 100644
--- a/lisc/parse.c
+++ b/lisc/parse.c
@@ -225,7 +225,7 @@ Alpha:		c = fgetc(inf);
 			err("identifier too long");
 		tok[i++] = c;
 		c = fgetc(inf);
-	} while (isalpha(c) || c == '.' || isdigit(c));
+	} while (isalpha(c) || c == '.' || c == '_' || isdigit(c));
 	tok[i] = 0;
 	ungetc(c, inf);
 	if (t != TXXX) {