Permalink
Browse files

slash star comments

  • Loading branch information...
Douglas Crockford
Douglas Crockford committed Dec 5, 2012
1 parent 0d58ea6 commit 2a943dba6bae746075749499b1da7955474a47b1
Showing with 2 additions and 2 deletions.
  1. +2 −2 jsmin.c
View
@@ -1,5 +1,5 @@
/* jsmin.c
- 2012-11-18
+ 2012-12-04
Copyright (c) 2002 Douglas Crockford (www.crockford.com)
@@ -110,7 +110,7 @@ next()
break;
case '*':
get();
- for (;;) {
+ while (c != ' ') {
switch (get()) {
case '*':
if (peek() == '/') {

0 comments on commit 2a943db

Please sign in to comment.