Browse Source

Use new ubiquitous token format

pull/1/head
Max Brunsfeld 12 years ago
parent
commit
bb5fbbf48f
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      grammar.coffee

+ 1
- 3
grammar.coffee View File

@ -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(

Loading…
Cancel
Save