chiark
/
gitweb
/
~ian
/
userv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4544c87
)
RJK fixes.
author
ian
<ian>
Sat, 24 Jan 1998 19:14:08 +0000
(19:14 +0000)
committer
ian
<ian>
Sat, 24 Jan 1998 19:14:08 +0000
(19:14 +0000)
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index 0505474cf8e244cef09af0e12e215681f09733cc..ecfe32239aac292c8c4e313997c5f8320db397fc 100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-1298,7
+1298,7
@@
static int parse_file(const char *string, int *didexist) {
if (didexist) *didexist= 1;
- filename= xstrsave(
string
);
+ filename= xstrsave(
file
);
ybuf= yy_create_buffer(file,YY_BUF_SIZE);
if (!ybuf) syscallerror("unable to create flex buffer for file");
parser_push(&usestate,filename,&newstab,ybuf,0);