Permalink
Browse files

fix regex

  • Loading branch information...
1 parent 703f17c commit 4f1885bc6638059efa606b2ab80b166167998ed3 @fperrad fperrad committed Jan 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/Parentheses.ooc
View
@@ -7,7 +7,7 @@ import text/Regexp
import text/StringTokenizer
rx := Regexp compile("([A-Za-z_][\\w_?]*)(\\s*)\\(")
-comment := Regexp compile("(^\\s+\\*|/[/*])")
+comment := Regexp compile("(^\\s*\\*|/[/*])")
keywords := HashMap <String, Bool> new() // control flow + modifier
keywords put("const", true)
keywords put("for", true)

0 comments on commit 4f1885b

Please sign in to comment.