Sfoglia il codice sorgente

Use new ubiquitous token format

pull/1/head
Max Brunsfeld 12 anni fa
parent
commit
bb5fbbf48f
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. +1
    -3
      grammar.coffee

+ 1
- 3
grammar.coffee Vedi 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(

Caricamento…
Annulla
Salva