mirror of
https://github.com/google/pebble
synced 2026-10-18 01:04:12 +02:00
Import of the watch repository from Pebble
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# Test that special characters in .proto filenames work.
|
||||
|
||||
Import('env')
|
||||
|
||||
env.NanopbProto(["funny-proto+name has.characters.proto", "funny-proto+name has.characters.options"])
|
||||
env.Object("funny-proto+name has.characters.pb.c")
|
||||
env.Match(['funny-proto+name has.characters.pb.h', 'specchars.expected'])
|
||||
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
// Unicode comment эмйÅÄÖ
|
||||
* max_count:10
|
||||
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
syntax="proto2";
|
||||
|
||||
// Unicode comment эмйÅÄÖ
|
||||
message WorkingMessage {
|
||||
required int32 b = 1;
|
||||
required int32 Z = 2;
|
||||
repeated int32 x = 3;
|
||||
}
|
||||
|
||||
message FailingMessageBecauseMembersAreMacroParameter {
|
||||
required int32 a = 1;
|
||||
required int32 X = 2;
|
||||
}
|
||||
|
||||
message TestMacroParametersAndUnderscores {
|
||||
required int32 a = 1;
|
||||
required int32 a_ = 2;
|
||||
required int32 X = 3;
|
||||
required int32 X_ = 4;
|
||||
required int32 X__ = 5;
|
||||
required int32 X___ = 6;
|
||||
required int32 X____ = 7;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
int32_t x\[10\];
|
||||
Unicode comment эмйÅÄÖ
|
||||
|
||||
Reference in New Issue
Block a user