From bb5fbbf48f391aa22cc5ebde8bdb9c4d46e9b45a Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Sun, 7 Sep 2014 23:04:24 -0700 Subject: [PATCH] Use new ubiquitous token format --- grammar.coffee | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/grammar.coffee b/grammar.coffee index 58ad396..0ec16aa 100644 --- a/grammar.coffee +++ b/grammar.coffee @@ -10,9 +10,7 @@ commaSep1 = (rule) -> module.exports = compiler.grammar name: 'c', - separators: [' ', '\t', '\r', '\n'] - - ubiquitous: ["comment"] + ubiquitous: -> [@comment, /\s/] rules: program: -> repeat(choice(