about summary refs log tree commit diff
path: root/src/codegen/llvm.rs
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2021-03-14T15·53-0400
committerGriffin Smith <root@gws.fyi>2021-03-14T15·53-0400
commit39656a3801bb311edd9ebb65e92a24fc48f69ec7 (patch)
treed408937901c7789c033373019a94e014a03522a8 /src/codegen/llvm.rs
parent32a5c0ff0fc58aa6721c1e0ad41950bde2d66744 (diff)
Add string support to the frontend
Diffstat (limited to 'src/codegen/llvm.rs')
-rw-r--r--src/codegen/llvm.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/codegen/llvm.rs b/src/codegen/llvm.rs
index 5b5db90a1ad8..ee087845b640 100644
--- a/src/codegen/llvm.rs
+++ b/src/codegen/llvm.rs
@@ -92,6 +92,7 @@ impl<'ctx, 'ast> Codegen<'ctx, 'ast> {
                     Literal::Bool(b) => Ok(AnyValueEnum::IntValue(
                         ty.const_int(if *b { 1 } else { 0 }, false),
                     )),
+                    Literal::String(_) => todo!(),
                 }
             }
             Expr::UnaryOp { op, rhs, .. } => {