<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br></div>
I'm trying to find a safe spot in the middle of a file, where I can start parsing, normally you have to parse the entire file to understand it, ex with your grammar files, there are many keywords inside huge strings, so basically I let the compiler handle comments and white-space parsing, which allows to me to make a stable localized parser for a subset of the language.</blockquote>
<div><br></div><div>OK, this I get.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What I don't get is how the [__LINE__] part in magic contains significant<br>
info.<br>
</blockquote>
<br></div>
It allows me to retrieve the entire original source for a declaration... it kinda emulates a ".sourceof" trait / property. :)<br></blockquote><div><br></div><div>Yeah but... What does this have to do with __LINE__? I'm sorry if I'm dumb here, I still haven't used UDAs.</div>
<div> </div></div><br>