Skip to content

Commit

Permalink
Merge pull request #101 from Xkein/main
Browse files Browse the repository at this point in the history
fix "Unhandled PrimitiveKind: Long" in CppPrimitiveType.ToString()
  • Loading branch information
xoofx authored May 22, 2024
2 parents 151b9df + 49dc97b commit 5e5fe0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CppAst/CppPrimitiveType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ public override string ToString()
return "short";
case CppPrimitiveKind.Int:
return "int";
case CppPrimitiveKind.Long:
return "long";
case CppPrimitiveKind.UnsignedLong:
return "unsigned long";
case CppPrimitiveKind.LongLong:
return "long long";
case CppPrimitiveKind.UnsignedChar:
Expand Down

0 comments on commit 5e5fe0a

Please sign in to comment.