thing
This commit is contained in:
parent
7ad59ab87e
commit
ce402276bc
3 changed files with 7 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
||||||
mod data_types;
|
mod data_types;
|
||||||
|
mod parser;
|
||||||
|
|
1
src/parser/mod.rs
Normal file
1
src/parser/mod.rs
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pub (crate) mod preparser;
|
5
src/parser/preparser.rs
Normal file
5
src/parser/preparser.rs
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
// Prepares the given raw code to be consumed by the tokeniser
|
||||||
|
// It achieves this by adding missing semicolons and adjusting whitespace (normalising to one space for everything outside of strings)
|
||||||
|
pub fn preparse(raw: &str) -> String {
|
||||||
|
String::from("value")
|
||||||
|
}
|
Loading…
Reference in a new issue