Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

C:/Program Files (x86)/Git/* / */

  • Loading branch information...
commit da4dfcd7c36c391f587f7ae6f33a4e10595dac62 1 parent 31deb57
Douglas Crockford authored May 29, 2012

Showing 2 changed files with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. 4  jsdev.c
  2. 4  jsdev.js
4  jsdev.c
... ...
@@ -1,6 +1,6 @@
1 1
 /*  jsdev.c
2 2
     Douglas Crockford
3  
-    2012-01-06
  3
+    2012-03-29
4 4
 
5 5
     Public Domain
6 6
 
@@ -474,7 +474,7 @@ process()
474 474
                             }
475 475
                             if (c == '/') {
476 476
                                 c = get(TRUE);
477  
-                                if (c == '*' || c == '/') {
  477
+                                if (c == '*') {
478 478
                                     error("nested comment.");
479 479
                                 }
480 480
                             } else if (c == '*') {
4  jsdev.js
... ...
@@ -1,6 +1,6 @@
1 1
 // jsdev.js
2 2
 // Douglas Crockford
3  
-// 2012-01-08
  3
+// 2012-03-28
4 4
 //
5 5
 // Public Domain
6 6
 //
@@ -410,7 +410,7 @@ function JSDEV(source, tags, comments) {
410 410
                                 }
411 411
                                 if (c === '/') {
412 412
                                     c = get(true);
413  
-                                    if (c === '*' || c === '/') {
  413
+                                    if (c === '*') {
414 414
                                         error("nested comment.");
415 415
                                     }
416 416
                                 } else if (c === '*') {

0 notes on commit da4dfcd

Please sign in to comment.
Something went wrong with that request. Please try again.