HomeSort by relevance Sort by last modified time
Error parsing your query:
path:(--foo.c)

You might try to enclose your search term in quotes:
" path:(--foo.c)"

or read the Help on query language(eventually escape special characters with \)

Error message from parser:
Cannot parse ' path:(--foo.c)': Encountered "-" at line 1, column 8.
Was expecting one of:
"(" ...
"*" ...
<QUOTED> ...
<TERM> ...
<PREFIXTERM> ...
<WILDTERM> ...
"[" ...
"{" ...
<NUMBER> ...