weggli icon indicating copy to clipboard operation
weggli copied to clipboard

can not find problem

Open bb33bb opened this issue 4 years ago • 2 comments

file content as following

namespace content {
class CONTENT_EXPORT StoragePartitionImpl
    : public StoragePartition,
      public blink::mojom::DomStorage,
      public network::mojom::NetworkContextClient,
      public network::mojom::URLLoaderNetworkServiceObserver {
 public:
 private:  
};
}  // namespace content

following is result

./weggli 'class _{}' C://Users//Administrator//Desktop//test
show noting


# ./weggli 'class CONTENT_EXPORT $a:_{};' C://Users//Administrator//Desktop//test
Error! Query parsing failed: class CONTENT_EXPORT [MISSING ; ]  $a:_{};
# ./weggli 'class CONTENT_EXPORT $a:_{}' C://Users//Administrator//Desktop//test
Error! Query parsing failed: class CONTENT_EXPORT [MISSING ; ]  $a:_{}

# ./weggli 'class $a' C://Users//Administrator//Desktop//test

image

dear bro , is there something wrong? the content is selected from chromium code.

bb33bb avatar Dec 20 '21 11:12 bb33bb

Thanks for the bug report. I'll take a look

felixwilhelm avatar Dec 21 '21 08:12 felixwilhelm

may be i think weggli treat CONTENT_EXPORT as the name of class. because CONTENT_EXPORT was red in picture. and in this case, when we wann to make limation of baseClass, may be its a hard work.

Thanks for your reading Master!! wish weggli more better!!

bb33bb avatar Dec 21 '21 14:12 bb33bb