# HG changeset patch # User Jan Vrany # Date 1341403592 -7200 # Node ID 0951a74f66685c552aedc053f3f1d6b9140b134e # Parent 7cc70ba5c71ec9c811991442693e7708771eb363 changed: #declareUndefinedVariable:as: - yet another fiz for auto-declaring temp variables diff -r 7cc70ba5c71e -r 0951a74f6668 Parser.st --- 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 " + "Modified (comment): / 04-07-2012 / 13:05:39 / Jan Vrany " ! 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