Permalink
Browse files

Define whitespace rule

  • Loading branch information...
1 parent 09dde3a commit 119ddbfee52eb64f72323d92e89c50fad21f2c82 Amos Wenger committed Sep 15, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 grammar/ooc.grammar
View
@@ -1,7 +1,10 @@
CommaList<T> := T (- "," - next:CommaList<T>)?
-MultiImport := "[" atoms: CommaList<ImportAtom> "]"
+- := [ \t]*
+
+MultiImport := "[" atoms:CommaList<ImportAtom> "]"
+
ImportAtom := base:([A-Za-z_/]*) multi:MultiImport
Import := "import" - elems:CommaList<ImportAtom>

0 comments on commit 119ddbf

Please sign in to comment.