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:09 +0100
commita076248389c82276e079756bee26c011b03f70f2 (patch)
tree9d22c48c75bcd778f30cbb2e37b6dff6abb4f1d2 /lex.c
parent6bb38f6a01dbf4bbd584e038ceace0a00faa27bb (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 '@':