@lezer/cpp
Advanced tools
+6
-0
@@ -0,1 +1,7 @@ | ||
| ## 1.1.4 (2025-12-09) | ||
| ### Bug fixes | ||
| Fix a bug where the parser would get stuck trying to parse a big expression with multiple less-than operators as a template type. | ||
| ## 1.1.3 (2025-03-16) | ||
@@ -2,0 +8,0 @@ |
+1
-1
| { | ||
| "name": "@lezer/cpp", | ||
| "version": "1.1.3", | ||
| "version": "1.1.4", | ||
| "description": "lezer-based C++ grammar", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
@@ -45,4 +45,5 @@ // This file was generated by lezer-generator. You probably shouldn't edit it. | ||
| incDec = 55, | ||
| lessThan = 65, | ||
| templateArgsEnd = 66, | ||
| CompareOp = 67, | ||
| templateArgsEnd = 66, | ||
| UpdateOp = 69, | ||
@@ -49,0 +50,0 @@ Number = 71, |
+20
-0
@@ -721,1 +721,21 @@ # Scoped function calls | ||
| ExpressionStatement(AssignmentExpression(Identifier,InitializerList(Identifier,Identifier)))))) | ||
| # Chain of less-than operators | ||
| if (a < 0 || b < 0 || c < 0 || d < 0) b(); | ||
| ==> | ||
| Program(IfStatement(if, | ||
| ConditionClause( | ||
| BinaryExpression( | ||
| BinaryExpression( | ||
| BinaryExpression( | ||
| BinaryExpression(Identifier,CompareOp,Number), | ||
| LogicOp, | ||
| BinaryExpression(Identifier,CompareOp,Number)), | ||
| LogicOp, | ||
| BinaryExpression(Identifier,CompareOp,Number)), | ||
| LogicOp, | ||
| BinaryExpression(Identifier,CompareOp,Number))), | ||
| ExpressionStatement(CallExpression(Identifier,ArgumentList)))) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
441848
0.31%1786
0.22%51
2%