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

elem.pos.col_num always equal to 0 #2

Open
mathieumahe opened this issue Oct 31, 2013 · 0 comments
Open

elem.pos.col_num always equal to 0 #2

mathieumahe opened this issue Oct 31, 2013 · 0 comments

Comments

@mathieumahe
Copy link

Everything is in the title. But maybe I'm missing something!

Here's my code :

def func root
  root.each do |elem|
    p elem
    p elem.pos
    func elem
  end
end

source = File.read('file.c')
ast = C.parse(source)
func ast
@ghazel ghazel mentioned this issue Feb 17, 2014
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

1 participant