projects
/
fleet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3f3eba
)
fixed performance bug in grammar
author
adam
<adam@megacz.com>
Wed, 25 Oct 2006 11:20:57 +0000
(12:20 +0100)
committer
adam
<adam@megacz.com>
Wed, 25 Oct 2006 11:20:57 +0000
(12:20 +0100)
fleet.g
patch
|
blob
|
history
diff --git
a/fleet.g
b/fleet.g
index
b5beac2
..
98d9b92
100644
(file)
--- a/
fleet.g
+++ b/
fleet.g
@@
-11,14
+11,8
@@
Comment = "//" ~[\n]* "\n"
| "/*" ~[\n]* "*/"
-w = [\r\n ]
-ws = w ws!
- | Comment ws!
- | ()
-
// for some reason this causes major slowness!
-//w = [\r\n ]*
-//ws = (w | Comment)* -> ~[\r\n ]
+ws = ([\r\n ] | Comment)* -> ~[\r\n ]
s = ws! Program ws!
Program = Program::