summaryrefslogtreecommitdiff
path: root/oryxc
diff options
context:
space:
mode:
Diffstat (limited to 'oryxc')
-rw-r--r--oryxc/src/main.rs2
-rw-r--r--oryxc/src/parser.rs8
2 files changed, 5 insertions, 5 deletions
diff --git a/oryxc/src/main.rs b/oryxc/src/main.rs
index aa350e8..23fa66b 100644
--- a/oryxc/src/main.rs
+++ b/oryxc/src/main.rs
@@ -22,7 +22,7 @@ pub struct Flags {
pub debug_parser: bool,
pub help: bool,
pub threads: usize,
- pub error_style: errors::ErrorStyle,
+ pub error_style: errors::ErrorStyle,
}
impl Flags {
diff --git a/oryxc/src/parser.rs b/oryxc/src/parser.rs
index 815327a..b777fe4 100644
--- a/oryxc/src/parser.rs
+++ b/oryxc/src/parser.rs
@@ -38,10 +38,10 @@ pub enum AstType {
Number, /* (_, _) */
Pointer, /* (rhs, _) */
Return, /* (extra-data, extra-data-len) */
- /* TODO: Construct this thing */
- Root, /* (extra-data, extra-data-len) */
- String, /* (_, _) */
- UnaryOperator, /* (rhs, _) */
+ /* TODO: Construct this thing */
+ Root, /* (extra-data, extra-data-len) */
+ String, /* (_, _) */
+ UnaryOperator, /* (rhs, _) */
}
#[derive(Clone, Copy)]