[Pydev-cvs] org.python.pydev.parser/src/org/python/parser ReaderCharStream.java,1.2,1.3
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2005-10-16 19:55:01
|
Update of /cvsroot/pydev/org.python.pydev.parser/src/org/python/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10497/src/org/python/parser Modified Files: ReaderCharStream.java Log Message: Index: ReaderCharStream.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.parser/src/org/python/parser/ReaderCharStream.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ReaderCharStream.java 28 Aug 2005 01:59:45 -0000 1.2 --- ReaderCharStream.java 16 Oct 2005 19:54:53 -0000 1.3 *************** *** 161,168 **** prevCharIsLF = true; break; ! case '\t' : ! column--; ! column += (8 - (column & 07)); ! break; default : break; --- 161,173 ---- prevCharIsLF = true; break; ! //ok, this was commented out because the position would not reflect correctly the positions found in the ast. ! //this may have other problems, but they have to be analyzed better to see the problems this may bring ! //(files that mix tabs and spaces may suffer, but I could not find out very well the problems -- anyway, ! //restricting the analysis to files that have only tabs or only spaces seems reasonable -- shortcuts are available ! //so that we can convert a file from one type to another, so, what remains is making some lint analysis to be sure of it). ! // case '\t' : ! // column--; ! // column += (8 - (column & 07)); ! // break; default : break; |