Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tree-sitter-c

Package Overview
Dependencies
Maintainers
2
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tree-sitter-c - npm Package Compare versions

Comparing version 0.13.1 to 0.13.2

20

grammar.js

@@ -91,3 +91,3 @@ const PREC = {

$.identifier,
optional(seq(/[ \t]+/, $.preproc_arg)),
optional($.preproc_arg),
'\n'

@@ -105,3 +105,3 @@ ),

preproc_params: $ => seq(
'(', commaSep(choice($.identifier, '...')), ')'
token.immediate('('), commaSep(choice($.identifier, '...')), ')'
),

@@ -111,3 +111,3 @@

$.preproc_directive,
optional(seq(/[ \t]+/, $.preproc_arg)),
optional($.preproc_arg),
'\n'

@@ -422,3 +422,3 @@ ),

'if',
'(', $._expression, ')',
$.parenthesized_expression,
$._statement,

@@ -433,3 +433,3 @@ optional(seq(

'switch',
'(', $._expression, ')',
$.parenthesized_expression,
$._statement

@@ -453,3 +453,3 @@ ),

'while',
'(', $._expression, ')',
$.parenthesized_expression,
$._statement

@@ -462,3 +462,3 @@ ),

'while',
'(', $._expression, ')'
$.parenthesized_expression
),

@@ -687,3 +687,3 @@

$.escape_sequence,
/[^\n']/
token.immediate(/[^\n']/)
),

@@ -701,3 +701,3 @@ '\''

repeat(choice(
token(prec(1, /[^\\"\n]/)),
token.immediate(prec(1, /[^\\"\n]/)),
$.escape_sequence

@@ -708,3 +708,3 @@ )),

escape_sequence: $ => token(seq(
escape_sequence: $ => token.immediate(seq(
'\\',

@@ -711,0 +711,0 @@ choice(

{
"name": "tree-sitter-c",
"version": "0.13.1",
"version": "0.13.2",
"description": "C grammar for node-tree-sitter",

@@ -16,3 +16,3 @@ "main": "index.js",

"devDependencies": {
"tree-sitter-cli": "^0.13.1"
"tree-sitter-cli": "^0.13.4"
},

@@ -19,0 +19,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc