Made Dart::ParserTests autoloaded.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Fri, 11 Jan 2013 13:43:38 +0000
changeset 577d56b3a771b
parent 4 5ef74750c3bc
child 6 06efdfe62106
Made Dart::ParserTests autoloaded.
compiler/Dart__Scanner.st
compiler/Make.proto
compiler/Make.spec
compiler/bc.mak
compiler/compiler.rc
compiler/jv_dart_compiler.st
compiler/libInit.cc
     1.1 --- a/compiler/Dart__Scanner.st	Fri Jan 11 13:41:57 2013 +0000
     1.2 +++ b/compiler/Dart__Scanner.st	Fri Jan 11 13:43:38 2013 +0000
     1.3 @@ -1074,6 +1074,23 @@
     1.4      value := something.
     1.5  ! !
     1.6  
     1.7 +!Scanner::Token methodsFor:'printing & storing'!
     1.8 +
     1.9 +printOn:aStream
    1.10 +    "append a printed representation if the receiver to the argument, aStream"
    1.11 +
    1.12 +    aStream nextPut: ${.
    1.13 +    type printOn:aStream.
    1.14 +    aStream nextPutAll:' - '.
    1.15 +    value printOn:aStream.
    1.16 +    aStream nextPutAll:' <'.
    1.17 +    startPosition printOn:aStream.
    1.18 +    aStream nextPutAll:'-'.
    1.19 +    endPosition printOn:aStream.
    1.20 +    aStream nextPutAll:' >}'.
    1.21 +
    1.22 +    "Modified: / 11-01-2013 / 12:32:57 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    1.23 +! !
    1.24  
    1.25  !Scanner class methodsFor:'documentation'!
    1.26  
     2.1 --- a/compiler/Make.proto	Fri Jan 11 13:41:57 2013 +0000
     2.2 +++ b/compiler/Make.proto	Fri Jan 11 13:43:38 2013 +0000
     2.3 @@ -118,7 +118,6 @@
     2.4  # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
     2.5  $(OUTDIR)Dart__Parser.$(O) Dart__Parser.$(H): Dart__Parser.st $(INCLUDE_TOP)/stx/goodies/petitparser/PPCompositeParser.$(H) $(INCLUDE_TOP)/stx/goodies/petitparser/PPDelegateParser.$(H) $(INCLUDE_TOP)/stx/goodies/petitparser/PPParser.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
     2.6  $(OUTDIR)Dart__ParserError.$(O) Dart__ParserError.$(H): Dart__ParserError.st $(INCLUDE_TOP)/stx/libbasic/Error.$(H) $(INCLUDE_TOP)/stx/libbasic/Exception.$(H) $(INCLUDE_TOP)/stx/libbasic/GenericException.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
     2.7 -$(OUTDIR)Dart__ParserTests.$(O) Dart__ParserTests.$(H): Dart__ParserTests.st $(INCLUDE_TOP)/stx/goodies/petitparser/PPCompositeParserTest.$(H) $(INCLUDE_TOP)/stx/goodies/petitparser/PPAbstractParseTest.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
     2.8  $(OUTDIR)Dart__ScannerBase.$(O) Dart__ScannerBase.$(H): Dart__ScannerBase.st $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
     2.9  $(OUTDIR)Dart__ScannerTests.$(O) Dart__ScannerTests.$(H): Dart__ScannerTests.st $(INCLUDE_TOP)/stx/goodies/sunit/TestCase.$(H) $(INCLUDE_TOP)/stx/goodies/sunit/TestAsserter.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
    2.10  $(OUTDIR)jv_dart_compiler.$(O) jv_dart_compiler.$(H): jv_dart_compiler.st $(INCLUDE_TOP)/stx/libbasic/LibraryDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/ProjectDefinition.$(H) $(INCLUDE_TOP)/stx/libbasic/Object.$(H) $(STCHDR)
     3.1 --- a/compiler/Make.spec	Fri Jan 11 13:41:57 2013 +0000
     3.2 +++ b/compiler/Make.spec	Fri Jan 11 13:43:38 2013 +0000
     3.3 @@ -58,7 +58,6 @@
     3.4  	Dart::ParserError \
     3.5  	Dart::SyntaxError \
     3.6  	Dart::ScannerError \
     3.7 -	Dart::ParserTests \
     3.8  
     3.9  
    3.10  
    3.11 @@ -72,7 +71,6 @@
    3.12      $(OUTDIR)Dart__ParserError.$(O) \
    3.13      $(OUTDIR)Dart__SyntaxError.$(O) \
    3.14      $(OUTDIR)Dart__ScannerError.$(O) \
    3.15 -    $(OUTDIR)Dart__ParserTests.$(O) \
    3.16  
    3.17  
    3.18  
     4.1 --- a/compiler/bc.mak	Fri Jan 11 13:41:57 2013 +0000
     4.2 +++ b/compiler/bc.mak	Fri Jan 11 13:43:38 2013 +0000
     4.3 @@ -65,7 +65,6 @@
     4.4  # BEGINMAKEDEPEND --- do not remove this line; make depend needs it
     4.5  $(OUTDIR)Dart__Parser.$(O) Dart__Parser.$(H): Dart__Parser.st $(INCLUDE_TOP)\stx\goodies\petitparser\PPCompositeParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPDelegateParser.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPParser.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
     4.6  $(OUTDIR)Dart__ParserError.$(O) Dart__ParserError.$(H): Dart__ParserError.st $(INCLUDE_TOP)\stx\libbasic\Error.$(H) $(INCLUDE_TOP)\stx\libbasic\Exception.$(H) $(INCLUDE_TOP)\stx\libbasic\GenericException.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
     4.7 -$(OUTDIR)Dart__ParserTests.$(O) Dart__ParserTests.$(H): Dart__ParserTests.st $(INCLUDE_TOP)\stx\goodies\petitparser\PPCompositeParserTest.$(H) $(INCLUDE_TOP)\stx\goodies\petitparser\PPAbstractParseTest.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
     4.8  $(OUTDIR)Dart__ScannerBase.$(O) Dart__ScannerBase.$(H): Dart__ScannerBase.st $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
     4.9  $(OUTDIR)Dart__ScannerTests.$(O) Dart__ScannerTests.$(H): Dart__ScannerTests.st $(INCLUDE_TOP)\stx\goodies\sunit\TestCase.$(H) $(INCLUDE_TOP)\stx\goodies\sunit\TestAsserter.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
    4.10  $(OUTDIR)jv_dart_compiler.$(O) jv_dart_compiler.$(H): jv_dart_compiler.st $(INCLUDE_TOP)\stx\libbasic\LibraryDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\ProjectDefinition.$(H) $(INCLUDE_TOP)\stx\libbasic\Object.$(H) $(STCHDR)
     5.1 --- a/compiler/compiler.rc	Fri Jan 11 13:41:57 2013 +0000
     5.2 +++ b/compiler/compiler.rc	Fri Jan 11 13:43:38 2013 +0000
     5.3 @@ -25,7 +25,7 @@
     5.4        VALUE "LegalCopyright", "My CopyRight or CopyLeft\0"
     5.5        VALUE "ProductName", "ProductName\0"
     5.6        VALUE "ProductVersion", "6.2.3.0\0"
     5.7 -      VALUE "ProductDate", "Fri, 11 Jan 2013 10:12:00 GMT\0"
     5.8 +      VALUE "ProductDate", "Fri, 11 Jan 2013 13:43:14 GMT\0"
     5.9      END
    5.10  
    5.11    END
     6.1 --- a/compiler/jv_dart_compiler.st	Fri Jan 11 13:41:57 2013 +0000
     6.2 +++ b/compiler/jv_dart_compiler.st	Fri Jan 11 13:43:38 2013 +0000
     6.3 @@ -49,10 +49,8 @@
     6.4          #'Dart::ParserError'
     6.5          #'Dart::SyntaxError'
     6.6          #'Dart::ScannerError'
     6.7 -        #'Dart::ParserTests'
     6.8 +        (#'Dart::ParserTests' autoload)
     6.9      )
    6.10 -
    6.11 -    "Modified: / 11-01-2013 / 13:39:32 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    6.12  !
    6.13  
    6.14  extensionMethodNames
     7.1 --- a/compiler/libInit.cc	Fri Jan 11 13:41:57 2013 +0000
     7.2 +++ b/compiler/libInit.cc	Fri Jan 11 13:43:38 2013 +0000
     7.3 @@ -29,7 +29,6 @@
     7.4  __BEGIN_PACKAGE2__("libjv_dart_compiler", _libjv_dart_compiler_Init, "jv:dart/compiler");
     7.5  _Dart__Parser_Init(pass,__pRT__,snd);
     7.6  _Dart__ParserError_Init(pass,__pRT__,snd);
     7.7 -_Dart__ParserTests_Init(pass,__pRT__,snd);
     7.8  _Dart__ScannerBase_Init(pass,__pRT__,snd);
     7.9  _Dart__ScannerTests_Init(pass,__pRT__,snd);
    7.10  _jv_137dart_137compiler_Init(pass,__pRT__,snd);