# HG changeset patch # User Jan Vrany # Date 1440434324 -3600 # Node ID 9b50ec9a6918cb76973b9b3d5a3297899d37bbc0 # Parent cc0ce8edda6322d26aa80b9104c15552e8da72b8 Added missing #new methods diff -r cc0ce8edda63 -r 9b50ec9a6918 compiler/Make.proto --- a/compiler/Make.proto Mon Aug 24 17:31:06 2015 +0100 +++ b/compiler/Make.proto Mon Aug 24 17:38:44 2015 +0100 @@ -34,7 +34,7 @@ # add the path(es) here:, # ********** OPTIONAL: MODIFY the next lines *** # LOCALINCLUDES=-Ifoo -Ibar -LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/petitparser -I$(INCLUDE_TOP)/stx/goodies/petitparser/analyzer -I$(INCLUDE_TOP)/stx/goodies/petitparser/parsers/java -I$(INCLUDE_TOP)/stx/goodies/petitparser/parsers/smalltalk -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/parser -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libview -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/libwidg2 +LOCALINCLUDES= -I$(INCLUDE_TOP)/stx/goodies/petitparser -I$(INCLUDE_TOP)/stx/goodies/petitparser/analyzer -I$(INCLUDE_TOP)/stx/goodies/petitparser/parsers/java -I$(INCLUDE_TOP)/stx/goodies/petitparser/parsers/smalltalk -I$(INCLUDE_TOP)/stx/goodies/refactoryBrowser/parser -I$(INCLUDE_TOP)/stx/libbasic -I$(INCLUDE_TOP)/stx/libbasic2 -I$(INCLUDE_TOP)/stx/libwidg -I$(INCLUDE_TOP)/stx/libwidg2 # if you need any additional defines for embedded C code, diff -r cc0ce8edda63 -r 9b50ec9a6918 compiler/PPCClass.st --- a/compiler/PPCClass.st Mon Aug 24 17:31:06 2015 +0100 +++ b/compiler/PPCClass.st Mon Aug 24 17:38:44 2015 +0100 @@ -10,6 +10,14 @@ category:'PetitCompiler-Compiler-Codegen' ! +!PPCClass class methodsFor:'instance creation'! + +new + "return an initialized instance" + + ^ self basicNew initialize. +! ! + !PPCClass methodsFor:'accessing'! arguments: args diff -r cc0ce8edda63 -r 9b50ec9a6918 compiler/PPCDistinctScanner.st --- a/compiler/PPCDistinctScanner.st Mon Aug 24 17:31:06 2015 +0100 +++ b/compiler/PPCDistinctScanner.st Mon Aug 24 17:38:44 2015 +0100 @@ -9,6 +9,14 @@ category:'PetitCompiler-Scanner' ! +!PPCDistinctScanner class methodsFor:'instance creation'! + +new + "return an initialized instance" + + ^ self basicNew initialize. +! ! + !PPCDistinctScanner methodsFor:'accessing-private'! getMatch diff -r cc0ce8edda63 -r 9b50ec9a6918 compiler/PPCPredicateNode.st --- a/compiler/PPCPredicateNode.st Mon Aug 24 17:31:06 2015 +0100 +++ b/compiler/PPCPredicateNode.st Mon Aug 24 17:38:44 2015 +0100 @@ -9,9 +9,17 @@ category:'PetitCompiler-Nodes' ! + !PPCPredicateNode methodsFor:'visiting'! accept: visitor ^ visitor visitPredicateNode: self ! ! +!PPCPredicateNode class methodsFor:'documentation'! + +version_HG + + ^ '$Changeset: $' +! ! + diff -r cc0ce8edda63 -r 9b50ec9a6918 compiler/PPCScannerCodeGenerator.st --- a/compiler/PPCScannerCodeGenerator.st Mon Aug 24 17:31:06 2015 +0100 +++ b/compiler/PPCScannerCodeGenerator.st Mon Aug 24 17:38:44 2015 +0100 @@ -10,6 +10,14 @@ category:'PetitCompiler-Scanner' ! +!PPCScannerCodeGenerator class methodsFor:'instance creation'! + +new + "return an initialized instance" + + ^ self basicNew initialize. +! ! + !PPCScannerCodeGenerator methodsFor:'accessing'! arguments diff -r cc0ce8edda63 -r 9b50ec9a6918 compiler/bc.mak --- a/compiler/bc.mak Mon Aug 24 17:31:06 2015 +0100 +++ b/compiler/bc.mak Mon Aug 24 17:38:44 2015 +0100 @@ -35,7 +35,7 @@ -LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\petitparser -I$(INCLUDE_TOP)\stx\goodies\petitparser\analyzer -I$(INCLUDE_TOP)\stx\goodies\petitparser\parsers\java -I$(INCLUDE_TOP)\stx\goodies\petitparser\parsers\smalltalk -I$(INCLUDE_TOP)\stx\goodies\refactoryBrowser\parser -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libview -I$(INCLUDE_TOP)\stx\libwidg -I$(INCLUDE_TOP)\stx\libwidg2 +LOCALINCLUDES= -I$(INCLUDE_TOP)\stx\goodies\petitparser -I$(INCLUDE_TOP)\stx\goodies\petitparser\analyzer -I$(INCLUDE_TOP)\stx\goodies\petitparser\parsers\java -I$(INCLUDE_TOP)\stx\goodies\petitparser\parsers\smalltalk -I$(INCLUDE_TOP)\stx\goodies\refactoryBrowser\parser -I$(INCLUDE_TOP)\stx\libbasic -I$(INCLUDE_TOP)\stx\libbasic2 -I$(INCLUDE_TOP)\stx\libwidg -I$(INCLUDE_TOP)\stx\libwidg2 LOCALDEFINES= STCLOCALOPT=-package=$(PACKAGE) -I. $(LOCALINCLUDES) -headerDir=. $(STCLOCALOPTIMIZATIONS) $(STCWARNINGS) $(LOCALDEFINES) -varPrefix=$(LIBNAME)