tangled
alpha
login
or
join now
tholps.site
/
skidmark
0
fork
atom
Tholp's bespoke website generator
0
fork
atom
overview
issues
pulls
pipelines
Format
Tholp1
1 year ago
ff0824cb
5bb7ef44
+4
-6
1 changed file
expand all
collapse all
unified
split
src
main.rs
+4
-6
src/main.rs
···
58
let mut ephemeral = false;
59
let same_file = file.tokens[file.working_index].origin_file != file.filename_input;
60
61
-
//if file.tokens[file.working_index].contents.starts_with("!&")
62
-
if symbol.starts_with("!&")
63
-
{
64
prefix_len = 2;
65
ephemeral = !same_file;
66
}
67
-
//else if file.tokens[file.working_index].contents.starts_with("&")
68
-
else if symbol.starts_with("&")
69
-
{
70
ephemeral = same_file;
71
}
72
···
58
let mut ephemeral = false;
59
let same_file = file.tokens[file.working_index].origin_file != file.filename_input;
60
61
+
// Inversely Ephemeral
62
+
if symbol.starts_with("!&") {
0
63
prefix_len = 2;
64
ephemeral = !same_file;
65
}
66
+
// Ephemeral
67
+
else if symbol.starts_with("&") {
0
68
ephemeral = same_file;
69
}
70