Skip to content

Conversation

@WolfGangS
Copy link
Contributor

Currently this

#define TEXT "text" // Comment
default {
    state_entry() {
        llOwnerSay(TEXT);
    }
}

Outputs this invalid code

#define TEXT 
default {
    state_entry() {
        llOwnerSay("text" // Comment);
    }
}

This pr alters the behavior of the parser to drop comments when building the body of a define

Includes test for the same

Addresses part 2 of #32

Signed-off-by: WolfGangS <flamin2k8@gmail.com>
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.

1 participant