Bug in my output?
I'm not at my computer to post the code right now, but I will later. I'm writing a compiler for a java-like language. Working on the VM that goes with it too. So when I process the bye code into assembly it won't run on the cpu emulator, says error in line 0. I was trying to figure out what was causing the issue so I copy pasted each translated section into a new file and ran it. I made it all the way through the original file just copy paste into a new one and the new one ran without issues. My next step I guess is to toy around a bit and maybe comment out all the lines that print to the file and run one at a time till I find which section is causing the error, but the files, at least the asm code in each was the same. I'm lost at what could be the bug. Anyone ever have something similar happen that might help me get some light here? Again I'll post the code later and a brief summary of the languages