summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJosh Blum2013-08-05 01:19:47 -0700
committerJosh Blum2013-08-05 01:19:47 -0700
commit7be806728c5ac342b49928662138611769a18ca4 (patch)
tree2ef386f75772e37fe1ca0afb513c592b453f8b5d /lib
parent0ce842fc52e63ff2cfde2ae07afaccc8cffd0117 (diff)
downloadsandhi-7be806728c5ac342b49928662138611769a18ca4.tar.gz
sandhi-7be806728c5ac342b49928662138611769a18ca4.tar.bz2
sandhi-7be806728c5ac342b49928662138611769a18ca4.zip
gras: removed extra slashes
Diffstat (limited to 'lib')
-rw-r--r--lib/jit_factory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/jit_factory.cpp b/lib/jit_factory.cpp
index 331e87a..596fae8 100644
--- a/lib/jit_factory.cpp
+++ b/lib/jit_factory.cpp
@@ -210,8 +210,8 @@ static llvm::Module *call_clang_api(const std::string &source_file, const std::v
void gras::jit_factory(const std::string &source, const std::vector<std::string> &flags_)
{
//write source to tmp file
- char source_file[L_tmpnam];\
- if (std::tmpnam(source_file) == NULL) throw std::runtime_error("GRAS compiler: tmp source file path failed");\
+ char source_file[L_tmpnam];
+ if (std::tmpnam(source_file) == NULL) throw std::runtime_error("GRAS compiler: tmp source file path failed");
std::ofstream source_fstream(source_file);
source_fstream << source;
source_fstream.close();