Parallax Forums
  HomeLog InRegisterCommunity CalendarSearch the ForumHelp
   
Parallax Forums > Public Forums > SX Microcontrollers, SX/B Compiler and SX-Key Tool > Tab expanded file too long compile error  Forum Quick Jump
 
New Topic Post Reply Printable Version
[ << Previous Thread | Next Thread >> ] | Show Newest Post First ]

Chicago Mike
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2005
Total Posts : 84
 
   Posted 10/30/2009 1:06 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
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

Back to Top
 

PJMonty
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2004
Total Posts : 1009
 
   Posted 11/2/2009 6:16 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Chicago Mike,

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
Back to Top
 

Chicago Mike
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2005
Total Posts : 84
 
   Posted 11/4/2009 3:40 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Fantastic. Thanks for the info. So it still seems to compile and install, however I have a standing issue I still haven't solved.

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?
Back to Top
 

PJMonty
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2004
Total Posts : 1009
 
   Posted 11/11/2009 6:10 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Chicago Mike,

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
Back to Top
 
[ << Previous Thread | Next Thread >> ]
New Topic Post Reply Printable Version
 
Forum Information
Currently it is Friday, November 20, 2009 11:06 PM (GMT -8)
There are a total of 393,737 posts in 55,521 threads.
In the last 3 days there were 82 new threads and 701 reply posts. View Active Threads
Who's Online
This forum has 17687 registered members. Please welcome our newest member, mark09.
50 Guest(s), 2 Registered Member(s) are currently online.  Details
OakGraphics, Phil Pilgrim (PhiPi)