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

Add support for heredoc strings #14

Merged
merged 2 commits into from
Dec 29, 2018
Merged

Conversation

smortex
Copy link
Member

@smortex smortex commented Dec 27, 2018

Fixes #12

Instead of using substring, substitutions and conversion from/to symbols
for finding the opening token name of a given closing token, introduce a
hash of matching names.

This is not that useful for the existing tokens which have very similar
opening / closing names, but will make the code simpler for supporting
heredoc strings.

No functional change.
@smortex smortex changed the title Add support for heredoc strings [WIP] Add support for heredoc strings Dec 27, 2018
@smortex smortex force-pushed the add-heredoc-support branch from 2bfb7fe to 828fe64 Compare December 27, 2018 22:22
@smortex smortex changed the title [WIP] Add support for heredoc strings Add support for heredoc strings Dec 27, 2018
@smortex smortex force-pushed the add-heredoc-support branch from 828fe64 to 0d631a3 Compare December 28, 2018 00:30
@relud relud merged commit 0fc7479 into voxpupuli:master Dec 29, 2018
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.

2 participants