浏览代码

Use new ubiquitous token format

pull/1/head
Max Brunsfeld 12 年前
父节点
当前提交
bb5fbbf48f
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. +1
    -3
      grammar.coffee

+ 1
- 3
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(

正在加载...
取消
保存