artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f20167
)
If ugflag (indicating a character from the file being parsed has been
author
krw
<krw@openbsd.org>
Sat, 18 Jan 2014 01:41:28 +0000
(
01:41
+0000)
committer
krw
<krw@openbsd.org>
Sat, 18 Jan 2014 01:41:28 +0000
(
01:41
+0000)
unget()'ed) is set, then properly set the lexchar position back one in
get_token() so more error messages put the '^' in the proper spot.
sbin/dhclient/conflex.c
patch
|
blob
|
history
diff --git
a/sbin/dhclient/conflex.c
b/sbin/dhclient/conflex.c
index
9eedf05
..
5988829
100644
(file)
--- a/
sbin/dhclient/conflex.c
+++ b/
sbin/dhclient/conflex.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: conflex.c,v 1.2
6 2013/12/18 00:37:59
krw Exp $ */
+/* $OpenBSD: conflex.c,v 1.2
7 2014/01/18 01:41:28
krw Exp $ */
/* Lexical scanner for dhclient config file. */
@@
-134,7
+134,7
@@
get_token(FILE *cfile)
do {
l = line;
- p = lpos;
+ p = lpos
- ugflag
;
c = get_char(cfile);