Skip to content

Commit

Permalink
Merge pull request #1148 from andrew-johnson-4/lm-to-lsts-fajlep
Browse files Browse the repository at this point in the history
"" is a better default than <>
  • Loading branch information
andrew-johnson-4 authored Jan 23, 2025
2 parents 2e8c4a8 + 220326b commit 9b5d647
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions BOOTSTRAP/cli.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#include <regex.h>
#include <sys/wait.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "regex.h"
#include "sys/wait.h"
#include "unistd.h"
#include "string.h"
#include "stdlib.h"
#include "stdio.h"
typedef struct LM__LT_Buffer_GT_ LM__LT_Buffer_GT_;
typedef struct LM__LT_SmartString_GT_ LM__LT_SmartString_GT_;
typedef struct LM__LT_S_GT_ LM__LT_S_GT_;
Expand Down Expand Up @@ -23493,7 +23493,7 @@ return ({({({uuid__00000000000896d8=({LM__LT_S_GT_ rvalue={3};rvalue;});({});})
})?({uuid__00000000000896dc=(1);({});}):({})):({})):({}));
});
(uuid__00000000000896dc==(1));
})?({({uuid__00000000000896d8=(_AD__CL__LT_Arrow_LT_S_GT__LT_Cons_LT_S_GT__LT_S_GT__GT__GT_(uuid__00000000000896d8,(_AD__CL__LT_Arrow_LT_S_GT__LT_Cons_LT_S_GT__LT_S_GT__GT__GT_((_AD__CL__LT_Arrow_LT_S_GT__LT_Cons_LT_S_GT__LT_S_GT__GT__GT_(({LM__LT_S_GT_ rvalue={.field_0=2};rvalue.field_2001="#include <";rvalue;}),({LM__LT_S_GT_ rvalue={.field_0=2};rvalue.field_2001=uuid__00000000000896de;rvalue;}))),({LM__LT_S_GT_ rvalue={.field_0=2};rvalue.field_2001=">\n";rvalue;})))));({});});
})?({({uuid__00000000000896d8=(_AD__CL__LT_Arrow_LT_S_GT__LT_Cons_LT_S_GT__LT_S_GT__GT__GT_(uuid__00000000000896d8,(_AD__CL__LT_Arrow_LT_S_GT__LT_Cons_LT_S_GT__LT_S_GT__GT__GT_((_AD__CL__LT_Arrow_LT_S_GT__LT_Cons_LT_S_GT__LT_S_GT__GT__GT_(({LM__LT_S_GT_ rvalue={.field_0=2};rvalue.field_2001="#include \"";rvalue;}),({LM__LT_S_GT_ rvalue={.field_0=2};rvalue.field_2001=uuid__00000000000896de;rvalue;}))),({LM__LT_S_GT_ rvalue={.field_0=2};rvalue.field_2001="\"\n";rvalue;})))));({});});
({uuid__00000000000896d9=uuid__00000000000896dd;({});});
}):(fail_CL__LT_Arrow_LT_Never_GT__LT_Cons_LT_String_GT__LT_String_GT__GT__GT_("Pattern Match Failure","File: PLUGINS/BACKEND/C/compile-c-text-header.lm Line: 4 Column: 5")));
})));};});
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lambda_mountain"
version = "1.20.41"
version = "1.20.42"
authors = ["Andrew <[email protected]>"]
license = "MIT"
description = "Typed Macro Assembler (backed by Coq proofs-of-correctness)"
Expand Down
2 changes: 1 addition & 1 deletion PLUGINS/BACKEND/C/compile-c-text-header.lm
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ compile-c-text-header := λ. (: (
(let r SNil)
(for-each (fp in c-input-files) (
(set r (+( r
(+( (+( (SAtom '\oinclude\s<_s) (SAtom fp) )) (SAtom '>\n_s) ))
(+( (+( (SAtom '\oinclude\s"_s) (SAtom fp) )) (SAtom '"\n_s) ))
)))
))
r
Expand Down

0 comments on commit 9b5d647

Please sign in to comment.