lua-users home
lua-l archive

Re: End-of-line characters in long strings

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hisham <hisham.hm@gmail.com> writes:
> Apparently, on Linux and OSX at least, "\r" characters are cut off the
> ends of lines when Lua loads .lua sources, including inside long
> strings.
Is there much choice, in reality, though? Source files using CR LF
end-of-lines are a common infestation, and I'd say that in 99% of the
cases the author intended that long strings in those files contain
end-of-lines, not literal CR LF sequences.
-Miles
-- 
x
y
Z!

AltStyle によって変換されたページ (->オリジナル) /