Value: extract Value::Path
This commit is contained in:
1 parent
2eb59c34b5
commit
d8ff5cfe8e
1 file changed
+6
-4
@@ -185,6 +185,11 @@ public:
|
||||
const char * * context; // must be in sorted order
|
||||
};
|
||||
|
||||
struct Path {
|
||||
InputAccessor * accessor;
|
||||
const char * path;
|
||||
};
|
||||
|
||||
union
|
||||
{
|
||||
NixInt integer;
|
||||
@@ -192,10 +197,7 @@ public:
|
||||
|
||||
StringWithContext string;
|
||||
|
||||
struct {
|
||||
InputAccessor * accessor;
|
||||
const char * path;
|
||||
} _path;
|
||||
Path _path;
|
||||
|
||||
Bindings * attrs;
|
||||
struct {
|
||||
|
||||
Reference in new issue
Block a user