move to new cspot

This commit is contained in:
philippe44
2023-03-25 16:48:41 -07:00
parent c712b78931
commit 008c36facf
2983 changed files with 465270 additions and 13569 deletions

View File

@@ -0,0 +1,8 @@
# Test comment inclusion from .proto to .pb.h
Import("env")
env.NanopbProto("comments")
env.Object("comments.pb.c")
env.Match(['comments.pb.h', 'comments.expected'])

View File

@@ -0,0 +1,6 @@
Enum1Comment
LeadingEnumComment
ENUMVAL2.*TrailingEnumComment
Message1Comment
member2.*TrailingMemberComment

View File

@@ -0,0 +1,17 @@
syntax = "proto2";
// Message1Comment
message Message1
{
// LeadingMemberComment
required int32 member1 = 1;
required int32 member2 = 2; // TrailingMemberComment
}
// Enum1Comment
enum Enum1
{
// LeadingEnumComment
ENUMVAL1 = 1;
ENUMVAL2 = 2; // TrailingEnumComment
}