summaryrefslogtreecommitdiff
path: root/lex.c
diff options
context:
space:
mode:
authorByron Rakitzis <byron@archone.tamu.edu>1994-03-07 00:00:01 +0000
committerToby Goodwin <toby@paccrat.org>2015-05-16 21:22:59 +0100
commit5556dde4d3ad4e34267320b1411fc090b18a24b0 (patch)
tree9d22c48c75bcd778f30cbb2e37b6dff6abb4f1d2 /lex.c
parent26bb34cf036027dfa22dfae8d8fc2f6bfd6acb75 (diff)
beta: rc-1.5betadev1
Diffstat (limited to 'lex.c')
-rw-r--r--lex.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lex.c b/lex.c
index 90be65d..a4e4106 100644
--- a/lex.c
+++ b/lex.c
@@ -10,7 +10,7 @@
The lexical analyzer is fairly straightforward. The only really
unclean part concerns backslash continuation and "double
backslashes". A backslash followed by a newline is treated as a
- space, otherwise backslash is not a special characeter (i.e.,
+ space, otherwise backslash is not a special character (i.e.,
it can be part of a word). This introduces a host of unwanted
special cases. In our case, \ cannot be a word character, since
we wish to read in all word characters in a tight loop.
@@ -155,9 +155,6 @@ top: while ((c = gchar()) == ' ' || c == '\t')
w = KW;
}
switch (c) {
- case '\0':
- pr_error("warning: null character ignored");
- goto top;
case '!':
return BANG;
case '@':