mirror of
https://github.com/janet-lang/janet
synced 2025-10-26 05:07:41 +00:00
Drop leading and trailing newlines in longstrings.
Long, heredoc style strings can now have a non semantic leading newline character. This makes it easier to define large columns of text.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
:name "numarray"
|
||||
:source @["numarray.c"])
|
||||
|
||||
(import build/numarray :prefix "")
|
||||
(import build/numarray :as numarray)
|
||||
|
||||
(def a (numarray/new 30))
|
||||
(print (get a 20))
|
||||
|
||||
Reference in New Issue
Block a user