changed: #declareUndefinedVariable:as:
- yet another fiz for auto-declaring temp variables
--- a/Parser.st Tue Jul 03 11:34:15 2012 +0200
+++ b/Parser.st Wed Jul 04 14:06:32 2012 +0200
@@ -3251,7 +3251,7 @@
atCharacterPosition:posToInsert.
endLocalsPos notNil ifTrue:[
- localVarDefPosition at:2 put:(endLocalsPos + varName size + 1 + (space ifTrue:[2] ifFalse:[0])).
+ localVarDefPosition at:2 put:(endLocalsPos + varName size + 1).
methodVarNames := methodVarNames copyWith:varName.
methodVars := methodVars copyWith:(var := Variable new name:varName).
@@ -3277,7 +3277,7 @@
"Created: / 14-10-2010 / 11:04:27 / cg"
"Modified: / 20-10-2010 / 18:36:32 / cg"
- "Modified: / 03-07-2012 / 10:31:25 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified (comment): / 04-07-2012 / 13:05:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
defineAsUndeclaredVariable:aName
@@ -10783,11 +10783,11 @@
!Parser class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.718 2012-07-03 09:34:15 vrany Exp $'
+ ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.719 2012-07-04 12:06:32 vrany Exp $'
!
version_CVS
- ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.718 2012-07-03 09:34:15 vrany Exp $'
+ ^ '$Header: /cvs/stx/stx/libcomp/Parser.st,v 1.719 2012-07-04 12:06:32 vrany Exp $'
!
version_SVN