Tab expanded file too long compile error
Chicago Mike
Posts: 88
Can someone explain what a 'Tab expanded file too long' compile warning means.
Snipit·lines below . It says that the Program Setup_Time is the offending line.... It is a warning, not error in SX/B. I'm using the latest version of Beans SX/B beta.
dec2bcd··FUNC·1,1
Program Setup_Time
' Run once to Setup the clock on power up and determine the battery condition.
Setup_Time:
Post Edited (Chicago Mike) : 10/31/2009 12:26:20 AM GMT
Snipit·lines below . It says that the Program Setup_Time is the offending line.... It is a warning, not error in SX/B. I'm using the latest version of Beans SX/B beta.
dec2bcd··FUNC·1,1
Program Setup_Time
' Run once to Setup the clock on power up and determine the battery condition.
Setup_Time:
Post Edited (Chicago Mike) : 10/31/2009 12:26:20 AM GMT
Comments
The actual error is Tab expanded list file line too long - truncating.
SASM converts tabs into spaces while making the list file. It has a fixed length buffer that it uses to work on each line that will appear in the list file. You have a situation where there are a lot of tabs and when they are converted to spaces, the result is too long to fit in the buffer. To prevent a crash, SASM truncates the line in the list file.
Before you say that you don't have that many tabs in your source code line, remember that tabs are "invisible" if they appear at the end of a line.
Thanks,
PeterM
I guess my question is, can I let this go? Or should I sort through and find this? What bad things can happen if I leave this?
It's a warning, not an error, so it shouldn't cause problems. However, if you could post a zip file with the source file, I'd like to take a look and see the problem in action. Cutting and pasting the code might cause subtle changes that would prevent the error from occurring, so a ZIP file would be best.
Thanks,
PeterM