Revision: 283
http://javascriptlint.svn.sourceforge.net/javascriptlint/?rev=283&view=rev
Author: matthiasmiller
Date: 2009-10-22 11:43:08 +0000 (Thu, 22 Oct 2009)
Log Message:
-----------
#1534046: Add test.
Added Paths:
-----------
trunk/tests/control_comments/cpp_style_comments.js
Added: trunk/tests/control_comments/cpp_style_comments.js
===================================================================
--- trunk/tests/control_comments/cpp_style_comments.js (rev 0)
+++ trunk/tests/control_comments/cpp_style_comments.js 2009-10-22 11:43:08 UTC (rev 283)
@@ -0,0 +1,9 @@
+/* Allow C++ style control comments.
+https://sourceforge.net/tracker/?func=detail&aid=1534046&group_id=168518&atid=847185
+*/
+function control_comments() {
+ //jsl:declare undeclared_a
+ undeclared_a = 1;
+ undeclared_b = 2; /*warning:undeclared_identifier*/
+}
+
Property changes on: trunk/tests/control_comments/cpp_style_comments.js
___________________________________________________________________
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|