Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept multiline string continuation #129

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mingodad
Copy link
Contributor

@mingodad mingodad commented Jan 8, 2018

With this patch squirrel can accept multiline string continuation like C/C++/Shell:

local str = "one line \
with continuation";
print(str);

@zeromus
Copy link
Contributor

zeromus commented Jan 8, 2018

Both looks good to me, and small simple fixes.

@RizzoRat
Copy link

RizzoRat commented Mar 7, 2018

Multiline: Like it, but does not take into account \r\n endings (windows for example). You'd need to specifically filter for both cases. (Sorry, didn't have the time to read the enums patch)

celisej567 added a commit to celisej567/squirrel that referenced this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants