|
From: | Bruno Ribeiro |
Subject: | Jumps and yyin |
Date: | Wed, 05 Jun 2002 00:41:14 -0300 |
User-agent: | Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 |
Hello!I'm trying to implement jump operation, like GOTO, on my visual basic interpreter. What I have done was index all the line numbers as file positions. So when I do a jump operation, all I have to do is a fseek to the new file position. But fseek is shifting yyin to strange positions, I don't know why.
Does anybody knows something about that? Thanks, Bruno.
[Prev in Thread] | Current Thread | [Next in Thread] |