aboutsummaryrefslogtreecommitdiff
path: root/minic
diff options
context:
space:
mode:
Diffstat (limited to 'minic')
-rw-r--r--minic/minic.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/minic/minic.y b/minic/minic.y
index b335f68..0abef05 100644
--- a/minic/minic.y
+++ b/minic/minic.y
@@ -6,7 +6,7 @@
#include <string.h>
enum {
- NString = 16,
+ NString = 32,
NGlo = 256,
NVar = 512,
NStr = 256,
@@ -874,7 +874,7 @@ yylex()
die("ident too long");
*p++ = c;
c = getchar();
- } while (isalpha(c));
+ } while (isalpha(c) || c == '_');
*p = 0;
ungetc(c, stdin);
for (i=0; kwds[i].s; i++)