-
Notifications
You must be signed in to change notification settings - Fork 851
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
Incorrect comment node position #533
Comments
Can you please add a more general description of your problem and some kind of test case / sample code. |
sample code:
Absolute Position of |
nabice
added a commit
to nabice/rhino
that referenced
this issue
Apr 23, 2019
nabice
added a commit
to nabice/rhino
that referenced
this issue
Apr 24, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here move all comment nodes to root node
rhino/src/org/mozilla/javascript/Parser.java
Lines 699 to 701 in 33ac813
When we change the parent of comment node:
rhino/src/org/mozilla/javascript/ast/AstNode.java
Lines 250 to 264 in 33ac813
setRelative
do not work fine.rhino/src/org/mozilla/javascript/ast/AstNode.java
Lines 255 to 258 in 33ac813
The text was updated successfully, but these errors were encountered: