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,9 @@
|
||||
# Regression test for Issue 145: Allow /* */ and // comments in .options files
|
||||
|
||||
Import("env")
|
||||
|
||||
env.NanopbProto(["comments", "comments.options"])
|
||||
env.Object('comments.pb.c')
|
||||
|
||||
env.Match(['comments.pb.h', 'comments.expected'])
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
char foo\[5\];
|
||||
char bar\[16\];
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
/* Block comment */
|
||||
# Line comment
|
||||
// Line comment
|
||||
DummyMessage.foo /* Block comment */ max_size:5
|
||||
DummyMessage.bar max_size:16 # Line comment ###
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
syntax = "proto2";
|
||||
|
||||
message DummyMessage {
|
||||
required string foo = 1;
|
||||
required string bar = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user