[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] SF.net SVN: supercollider:[8091] trunk/Source/lang/LangSource/PyrLexer.cpp



Revision: 8091
          http://supercollider.svn.sourceforge.net/supercollider/?rev=8091&view=rev
Author:   jamshark70
Date:     2008-12-10 02:36:39 +0000 (Wed, 10 Dec 2008)

Log Message:
-----------
Bypass unnecessary compiler warning if a file ends with a // comment

Modified Paths:
--------------
    trunk/Source/lang/LangSource/PyrLexer.cpp

Modified: trunk/Source/lang/LangSource/PyrLexer.cpp
===================================================================
--- trunk/Source/lang/LangSource/PyrLexer.cpp	2008-12-09 19:22:57 UTC (rev 8090)
+++ trunk/Source/lang/LangSource/PyrLexer.cpp	2008-12-10 02:36:39 UTC (rev 8091)
@@ -1607,7 +1607,7 @@
 	do {
 		c = input0(); 
 	} while (c != '\n' && c != '\r' && c != 0);
-	if (c == 0) { goto error1; }
+	if (c == 0) { goto leave; }
 	else goto start;
 
 comment2 : {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/