Skip to content

Bug on newline between/after statements #7

Open
@pveyes

Description

Addition / removal of some newline causes different bug

Case 1: newline required at the end of statement

misal x = 2; // no newline

Output:

salah sintaks

Expected:

var x = 2;

Case 2: Newline between statements

misal x = 2;

misal y = 4;

Output:

var x = 2;

Expected:

var x = 2;
var y = 4;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    scope: parserNaskah syntax definition and parsing behaviortype: bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions