Skip to content

Commit

Permalink
fix incorrect wrapping in quote-syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mnieper committed Aug 26, 2024
1 parent 74ca188 commit 77e58fd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions mats/8.ms
Original file line number Diff line number Diff line change
Expand Up @@ -12030,6 +12030,7 @@
(mat quote-syntax
(equal? (syntax->datum (quote-syntax (a b c))) '(a b c))
(equal? (syntax->datum (quote-syntax ...)) '...)
(identifier? (quote-syntax if))
(bound-identifier=? (quote-syntax ...) (syntax (... ...)))
(free-identifier=? (quote-syntax ...) (syntax (... ...)))
(equal? (with-syntax ([x #'y]) (syntax->datum (quote-syntax x))) 'x)
Expand Down
7 changes: 4 additions & 3 deletions s/syntax.ss
Original file line number Diff line number Diff line change
Expand Up @@ -6027,10 +6027,11 @@
(_ (syntax-error (source-wrap e w ae))))))

(global-extend 'core 'quote-syntax
(lambda (e r w ae)
(lambda (e r w ae)
(let ([e (source-wrap e w ae)])
(syntax-case e ()
((_ e) (build-data no-source (source-wrap (syntax e) w ae)))
(_ (syntax-error (source-wrap e w ae))))))
((_ e) (build-data no-source (syntax e)))
(_ (syntax-error e))))))

(global-extend 'core 'syntax
(let ()
Expand Down
2 changes: 1 addition & 1 deletion zlib
Submodule zlib updated 73 files
+1 −11 .gitignore
+19 −24 CMakeLists.txt
+0 −10 ChangeLog
+2 −1 FAQ
+8 −8 Makefile.in
+3 −3 README
+4 −5 configure
+1 −1 contrib/delphi/ZLib.pas
+1 −1 contrib/dotzlib/DotZLib/ChecksumImpl.cs
+1 −1 contrib/dotzlib/DotZLib/UnitTests.cs
+3 −3 contrib/infback9/inftree9.c
+2 −2 contrib/infback9/inftree9.h
+2 −2 contrib/iostream3/zfstream.h
+1 −1 contrib/minizip/Makefile
+1 −1 contrib/minizip/configure.ac
+1 −1 contrib/minizip/ioapi.h
+2 −16 contrib/minizip/miniunz.c
+4 −4 contrib/minizip/unzip.c
+1 −1 contrib/minizip/unzip.h
+5 −16 contrib/minizip/zip.c
+2 −2 contrib/minizip/zip.h
+0 −43 contrib/nuget/nuget.csproj
+0 −22 contrib/nuget/nuget.sln
+1 −1 contrib/pascal/zlibpas.pas
+4 −4 contrib/puff/puff.c
+75 −81 contrib/vstudio/readme.txt
+4 −4 contrib/vstudio/vc10/zlib.rc
+1 −1 contrib/vstudio/vc10/zlibvc.def
+4 −4 contrib/vstudio/vc11/zlib.rc
+1 −1 contrib/vstudio/vc11/zlibvc.def
+4 −4 contrib/vstudio/vc12/zlib.rc
+1 −1 contrib/vstudio/vc12/zlibvc.def
+4 −4 contrib/vstudio/vc14/zlib.rc
+1 −1 contrib/vstudio/vc14/zlibvc.def
+0 −409 contrib/vstudio/vc17/miniunz.vcxproj
+0 −405 contrib/vstudio/vc17/minizip.vcxproj
+0 −473 contrib/vstudio/vc17/testzlib.vcxproj
+0 −409 contrib/vstudio/vc17/testzlibdll.vcxproj
+0 −32 contrib/vstudio/vc17/zlib.rc
+0 −602 contrib/vstudio/vc17/zlibstat.vcxproj
+0 −158 contrib/vstudio/vc17/zlibvc.def
+0 −179 contrib/vstudio/vc17/zlibvc.sln
+0 −875 contrib/vstudio/vc17/zlibvc.vcxproj
+4 −4 contrib/vstudio/vc9/zlib.rc
+1 −1 contrib/vstudio/vc9/zlibvc.def
+11 −36 deflate.c
+2 −33 deflate.h
+1 −1 doc/algorithm.txt
+2 −2 examples/gzlog.c
+1 −1 examples/zran.c
+6 −2 gzguts.h
+6 −6 gzlib.c
+1 −1 inflate.c
+3 −3 inftrees.c
+2 −2 inftrees.h
+1 −1 old/visual-basic.txt
+1 −1 os400/README400
+3 −3 os400/zlib.inc
+5 −5 qnx/package.qpg
+12 −13 test/example.c
+16 −16 test/minigzip.c
+2 −2 treebuild.xml
+3 −17 trees.c
+18 −2 win32/DLL_FAQ.txt
+4 −4 win32/README-WIN32.txt
+9 −1 zconf.h
+9 −1 zconf.h.cmakein
+9 −1 zconf.h.in
+3 −3 zlib.3
+ zlib.3.pdf
+11 −11 zlib.h
+100 −100 zlib.map
+24 −3 zutil.h
2 changes: 1 addition & 1 deletion zuo

0 comments on commit 77e58fd

Please sign in to comment.