Erlang scanner returning column numbers
Sun Jul 17 18:39:56 CEST 2005
Den 2005-07-17 18:19:08 skrev vladdu <>:
> I still need one feature, though: column numbers. Ulf said earlier he
> has done such an improvement, and I think it would be useful to add such
> a feature to syntax_tools too (the latter should be trivial if the
> scanner returns the information).
I once wrote a small hack in erl_scan.erl that maintained
column numbers. I got as far as verifying that this small
hack crashed the compiler. I don't recall where it crashed,
and didn't really have the time or energy to investigate.
> Any thoughts, ideas, suggestions?
> Ulf, is your code available?
No, my working version was in the CCviewer parser, which was
specialized for hypertext-linked html output. It was not a
correct parser, but FWIW, CCviewer is by all means available.
More information about the erlang-questions