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

tree-sitter-c

Package Overview
Dependencies
Maintainers
4
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.15.1 to 0.15.2

8

grammar.js

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

field('initializer', $.declaration),
seq(field('initializer', optional($._expression)), ';')
seq(field('initializer', optional(choice($._expression, $.comma_expression))), ';')
),

@@ -776,4 +776,3 @@ field('condition', optional($._expression)), ';',

char_literal: $ => seq(
optional('L'),
'\'',
choice('L\'', '\''),
choice(

@@ -792,4 +791,3 @@ $.escape_sequence,

string_literal: $ => seq(
optional('L'),
'"',
choice('L"', '"'),
repeat(choice(

@@ -796,0 +794,0 @@ token.immediate(prec(1, /[^\\"\n]+/)),

{
"name": "tree-sitter-c",
"version": "0.15.1",
"version": "0.15.2",
"description": "C grammar for node-tree-sitter",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1225,2 +1225,6 @@ [

{
"type": "comma_expression",
"named": true
},
{
"type": "declaration",

@@ -2826,3 +2830,3 @@ "named": true

{
"type": "L",
"type": "L'",
"named": false

@@ -2835,2 +2839,6 @@ },

{
"type": "L\"",
"named": false
},
{
"type": "\"",

@@ -2837,0 +2845,0 @@ "named": false

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