Skip to content

Commit 195a132

Browse files
committed
Handle match errors
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
1 parent a2dc452 commit 195a132

File tree

5 files changed

+8
-4
lines changed

5 files changed

+8
-4
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name := "chen"
22
ThisBuild / organization := "io.appthreat"
3-
ThisBuild / version := "2.3.7"
3+
ThisBuild / version := "2.3.8"
44
ThisBuild / scalaVersion := "3.6.2"
55

66
val cpgVersion = "1.0.1"

codemeta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"downloadUrl": "https://github.com/AppThreat/chen",
88
"issueTracker": "https://github.com/AppThreat/chen/issues",
99
"name": "chen",
10-
"version": "2.3.7",
10+
"version": "2.3.8",
1111
"description": "Code Hierarchy Exploration Net (chen) is an advanced exploration toolkit for your application source code and its dependency hierarchy.",
1212
"applicationCategory": "code-analysis",
1313
"keywords": [

meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% set version = "2.3.7" %}
1+
{% set version = "2.3.8" %}
22

33
package:
44
name: chen

platform/frontends/c2cpg/src/main/scala/io/appthreat/c2cpg/astcreation/AstForFunctionsCreator.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ trait AstForFunctionsCreator(implicit withSchemaValidation: ValidationMode):
124124
Ast()
125125
case typeDef: ITypedef =>
126126
Ast()
127+
case variable: IVariable =>
128+
Ast()
129+
case _ =>
130+
Ast()
127131
end astForFunctionDeclarator
128132

129133
protected def astForFunctionDefinition(funcDef: IASTFunctionDefinition): Ast =

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "appthreat-chen"
3-
version = "2.3.7"
3+
version = "2.3.8"
44
description = "Code Hierarchy Exploration Net (chen)"
55
authors = ["Team AppThreat <cloud@appthreat.com>"]
66
license = "Apache-2.0"

0 commit comments

Comments
 (0)