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

handle trailing semicolons #3

Open
SingingBush opened this issue Apr 12, 2017 · 1 comment
Open

handle trailing semicolons #3

SingingBush opened this issue Apr 12, 2017 · 1 comment

Comments

@SingingBush
Copy link

just so you're aware, I found a bug in your code: sdlang-dev#1

I raise a PR when fixed

@SingingBush
Copy link
Author

I've fixed this in my fork but not done PR as I've changed project structure to maven.

When testing, I'm parsing the following SDL

// Trailing semicolons are optional
title "Some title";

// They can be used to separate multiple nodes
title "Some title"; author "Peter Parker"

besides the semicolon issue I've also noticed that it ends up with 2 Tags for 'title'. Is right that SDL should allow duplicates? I would've expected that it should only be there once so think this may be a bug but couldn't tell as http://sdl.ikayzo.org/display/SDL/Language+Guide doesn't exist any more.

@dleuck dleuck assigned dleuck and unassigned dleuck Apr 7, 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

No branches or pull requests

2 participants