Nice/src/nice/tools/compiler setBuildDate,1.10,1.11 StatusCodeListener.nice,1.1,1.2

Daniel Bonniot <[email protected]> Sat, 12 Mar 2005 02:41:49 +0000
Newsgroups gmane.comp.lang.nice.cvs
Message-ID <[email protected]>
Update of /cvsroot/nice/Nice/src/nice/tools/compiler
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5589/src/nice/tools/compiler

Modified Files:
	setBuildDate StatusCodeListener.nice 
Log Message:
Implemented visibility for toplevel variables and values.


Index: setBuildDate
===================================================================
RCS file: /cvsroot/nice/Nice/src/nice/tools/compiler/setBuildDate,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** setBuildDate	31 Aug 2003 09:06:08 -0000	1.10
--- setBuildDate	12 Mar 2005 02:41:46 -0000	1.11
***************
*** 13,19 ****
  echo > dateBuild.nice
  echo "package nice.tools.compiler;" >> dateBuild.nice
! echo "let String versionNumber = \"$version\";" >> dateBuild.nice
! echo "let String buildDate = \"$date\";" >> dateBuild.nice
! echo "let String javaVersion = \"$javaVersion\";" >> dateBuild.nice
  
  
--- 13,19 ----
  echo > dateBuild.nice
  echo "package nice.tools.compiler;" >> dateBuild.nice
! echo "public let String versionNumber = \"$version\";" >> dateBuild.nice
! echo "public let String buildDate = \"$date\";" >> dateBuild.nice
! echo "public let String javaVersion = \"$javaVersion\";" >> dateBuild.nice
  
  

Index: StatusCodeListener.nice
===================================================================
RCS file: /cvsroot/nice/Nice/src/nice/tools/compiler/StatusCodeListener.nice,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** StatusCodeListener.nice	20 Feb 2004 02:51:58 -0000	1.1
--- StatusCodeListener.nice	12 Mar 2005 02:41:46 -0000	1.2
***************
*** 23,30 ****
   */
  
! let int OK      = 0; // Normal exit (compilation sucessful, version message)
! let int BUG     = 1; // Abnormal termination (bug in the compiler)
! let int ERROR   = 2; // Error reported (file missing, type error, ...)
! let int WARNING = 3; // Warning reported
  
  abstract class StatusCodeListener implements bossa.modules.CompilationListener
--- 23,30 ----
   */
  
! public let int OK      = 0; // Normal exit (compilation sucessful, version message)
! public let int BUG     = 1; // Abnormal termination (bug in the compiler)
! public let int ERROR   = 2; // Error reported (file missing, type error, ...)
! public let int WARNING = 3; // Warning reported
  
  abstract class StatusCodeListener implements bossa.modules.CompilationListener



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click