OLD | NEW |
1 // Copyright (C) 2006 Google Inc. | 1 // Copyright (C) 2006 Google Inc. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 PR['registerLangHandler'](PR['sourceDecorator']({ | 27 PR['registerLangHandler'](PR['sourceDecorator']({ |
28 'keywords': ( | 28 'keywords': ( |
29 'bytes,default,double,enum,extend,extensions,false,' | 29 'bytes,default,double,enum,extend,extensions,false,' |
30 + 'group,import,max,message,option,' | 30 + 'group,import,max,message,option,' |
31 + 'optional,package,repeated,required,returns,rpc,service,' | 31 + 'optional,package,repeated,required,returns,rpc,service,' |
32 + 'syntax,to,true'), | 32 + 'syntax,to,true'), |
33 'types': /^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/, | 33 'types': /^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/, |
34 'cStyleComments': true | 34 'cStyleComments': true |
35 }), ['proto']); | 35 }), ['proto']); |
OLD | NEW |