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

Asterisks in comments cause a syntax error #1003

Closed
josephcsible opened this issue Dec 22, 2018 · 0 comments
Closed

Asterisks in comments cause a syntax error #1003

josephcsible opened this issue Dec 22, 2018 · 0 comments

Comments

@josephcsible
Copy link
Contributor

This compiles fine:

rule AsteriskBug
{
    strings:
        $my_string = { 12 /* this is fine */ 34 }

    condition:
        all of them
}

This doesn't:

rule AsteriskBug
{
    strings:
        $my_string = { 12 /* this is *not* fine */ 34 }

    condition:
        all of them
}

It says asteriskbug(4): error: syntax error, unexpected '{', expecting text string.

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