summaryrefslogtreecommitdiff
path: root/lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'lex.c')
-rw-r--r--lex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lex.c b/lex.c
index 92732f8..195e8f6 100644
--- a/lex.c
+++ b/lex.c
@@ -178,9 +178,9 @@ top: while ((c = gchar()) == ' ' || c == '\t')
y->word.q = FALSE;
return WORD;
}
- if (c == '`' || c == '!' || c == '@' || c == '~' || c == '$' || c == '\'') {
+ if (c == '`' || c == '!' || c == '@' || c == '~' || c == '$' || c == '\'' || c == '=') {
checkfreecaret;
- if (c == '!' || c == '@' || c == '~')
+ if (c == '!' || c == '@' || c == '~' || c == '=')
w = KW;
}
switch (c) {
@@ -255,9 +255,9 @@ top: while ((c = gchar()) == ' ' || c == '\t')
case ';':
case '^':
case ')':
- case '=':
case '{': case '}':
w = NW;
+ case '=':
return c;
case '&':
w = NW;