Skip to content

Commit

Permalink
fix #581: \\[cmd] fails
Browse files Browse the repository at this point in the history
  • Loading branch information
tavmem committed Mar 10, 2020
1 parent 51303ee commit 79a5e0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DEVFLAGS = -O0 -g3 -DDEBUG -Wall
OS := $(shell uname -s | tr "[:upper:]" "[:lower:]")

# Win-64
ifeq (msys_nt-10.0,$(OS))
ifeq (msys_nt-10.0-18363,$(OS))
CC=gcc -DWIN32=1
PRODFLAGS += -D_FILE_OFFSET_BITS=64
LDFLAGS = -lws2_32 -static -lpthread
Expand Down
6 changes: 6 additions & 0 deletions src/tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,9 +1109,15 @@ Z I testsBook()
TC(" abcd", 7$`abcd)
TC(" 2.35", 7.2 $ 2.345)
TC(" 714.00", 7.2 $ 714)
#ifndef WIN32
TC("1.2e-34", $ 1.2e-34)
TC("2.35e+00 " , -9.2 $ 2.345)
TC("7.14e+02 " , -9.2 $ 714)
#else
TC("1.2e-034", $ 1.2e-34)
TC("2.35e+000", $ -9.2 $ 2.345)
TC("7.14e+002", $ -9.2 $ 714)
#endif
TC(27, 0$"27")
TC(3.4, 0.0$"3.4")
TC(27.0 , 0.0$"27")
Expand Down

0 comments on commit 79a5e0a

Please sign in to comment.