Skip to content

Commit

Permalink
OpenBSD fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabordemooij committed Jan 4, 2021
1 parent a5059ba commit 8d44e0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion makefile.bsd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLAGS = -pedantic-errors -std=c99 -mtune=native -Wall -D CTRLANG=${ISO}
CFLAGS = -std=c99 -mtune=native -Wall -D CTRLANG=${ISO}
OBJS = siphash.o utf8.o memory.o util.o base.o collections.o file.o system.o \
world.o lexer.o parser.o walker.o translator.o citrine.o

Expand Down
5 changes: 4 additions & 1 deletion tests/test0289.ctr
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
‘SINGLE_LANGUAGE’.
☞ OS ≔ Program shell: (Command uname -s), remove surrounding spaces.

☞ Slurp ≔ Object new.
Slurp on: ‘new’ do: {
⚿ str ≔ ‘’.
Expand Down Expand Up @@ -31,11 +33,12 @@ Slurp on: ‘obtain’ do: {
large text append: ‘hello’.
} × 1000.


✎ write: (
Program shell: (
Slurp new
echo: large text,
| ‘./bin/Linux/ctrxx tests/assets/stdin_test.ctr’
| (‘./bin/OS/ctrxx tests/assets/stdin_test.ctr’ OS: OS)
) obtain
).

0 comments on commit 8d44e0a

Please sign in to comment.