Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
8a624a62
Unverified
Commit
8a624a62
authored
Oct 04, 2019
by
Kenton Varda
Committed by
GitHub
Oct 04, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #890 from capnproto/fix-889
Fixes #889.
parents
17993aff
34a46dd6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
capnp.c++
c++/src/capnp/compiler/capnp.c++
+3
-1
No files found.
c++/src/capnp/compiler/capnp.c++
View file @
8a624a62
...
...
@@ -1899,7 +1899,9 @@ private:
auto
remainder
=
path
.
slice
(
i
,
path
.
size
());
KJ_IF_MAYBE
(
sdir
,
sourceDirectories
.
find
(
prefix
))
{
return
{
*
sdir
->
dir
,
remainder
.
clone
()
};
if
(
sdir
->
isSourcePrefix
)
{
return
{
*
sdir
->
dir
,
remainder
.
clone
()
};
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment