Permalink
Browse files

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

  • Loading branch information...
1 parent 31deb57 commit da4dfcd7c36c391f587f7ae6f33a4e10595dac62 @douglascrockford committed May 29, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 jsdev.c
  2. +2 −2 jsdev.js
View
4 jsdev.c
@@ -1,6 +1,6 @@
/* jsdev.c
Douglas Crockford
- 2012-01-06
+ 2012-03-29
Public Domain
@@ -474,7 +474,7 @@ process()
}
if (c == '/') {
c = get(TRUE);
- if (c == '*' || c == '/') {
+ if (c == '*') {
error("nested comment.");
}
} else if (c == '*') {
View
4 jsdev.js
@@ -1,6 +1,6 @@
// jsdev.js
// Douglas Crockford
-// 2012-01-08
+// 2012-03-28
//
// Public Domain
//
@@ -410,7 +410,7 @@ function JSDEV(source, tags, comments) {
}
if (c === '/') {
c = get(true);
- if (c === '*' || c === '/') {
+ if (c === '*') {
error("nested comment.");
}
} else if (c === '*') {

0 comments on commit da4dfcd

Please sign in to comment.