public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2299e83
)
Also update WorkingDir on line directives
author
ceriel
<none@none>
Thu, 22 Nov 1990 12:02:00 +0000
(12:02 +0000)
committer
ceriel
<none@none>
Thu, 22 Nov 1990 12:02:00 +0000
(12:02 +0000)
lang/m2/m2mm/LLlex.c
patch
|
blob
|
history
diff --git
a/lang/m2/m2mm/LLlex.c
b/lang/m2/m2mm/LLlex.c
index
032c26e
..
dde9a8d
100644
(file)
--- a/
lang/m2/m2mm/LLlex.c
+++ b/
lang/m2/m2mm/LLlex.c
@@
-23,6
+23,8
@@
struct token dot,
int idfsize = IDFSIZE;
int ForeignFlag;
+extern char *getwdir();
+
STATIC
SkipComment()
{
@@
-160,6
+162,7
@@
CheckForLineDirective()
*/
if (class(ch) == STNL && strcmp(FileName,buf)) {
FileName = Salloc(buf,(unsigned) strlen(buf) + 1);
+ WorkingDir = getwdir(FileName);
}
}
if (class(ch) == STEOI) {