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

Getting error when parsing "/"-simbol in expressions #7

Closed
maestrow opened this issue Aug 7, 2012 · 1 comment
Closed

Getting error when parsing "/"-simbol in expressions #7

maestrow opened this issue Aug 7, 2012 · 1 comment
Assignees

Comments

@maestrow
Copy link

maestrow commented Aug 7, 2012

How to reproduce:

Create file "div.ometajs" with content:

ometa Div {
    digit    = ^digit:d            -> d.digitValue(),
    divExpr  = digit:x '/' digit:y -> (x / y)
}

Execute: ometajs2js -i div.ometajs -o div.js

Error message:

Error: Lexer failer at: "/ y)

I'm using version from npm repo 3.1.12.

@ghost ghost assigned indutny Aug 7, 2012
@indutny
Copy link
Collaborator

indutny commented Aug 26, 2012

Thanks, fixed.

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