This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
tree-sitter-c
mirror of
https://github.com/tree-sitter/tree-sitter-c
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
79
Wiki
Activity
Browse Source
Use new ubiquitous token format
pull/1/head
Max Brunsfeld
12 years ago
parent
a2c90643d7
commit
bb5fbbf48f
1 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
(
Write
Preview
Loading…
Cancel
Save