Introduce a separate #filePath, remove -pound-file

This makes the path behavior more first-class. The feature is now hidden behind an experimental flag, -enable-experimental-concise-pound-file.
This commit is contained in:
Brent Royal-Gordon
2019-11-21 15:06:23 -08:00
parent 2acaf387c1
commit 63ec1cf5af
27 changed files with 120 additions and 42 deletions

View File

@@ -265,6 +265,8 @@ SYNTAX_TOKENS = [
serialization_code=73),
PoundKeyword('PoundFile', 'file', text='#file',
serialization_code=68),
PoundKeyword('PoundFilePath', 'filePath', text='#filePath',
serialization_code=121),
PoundKeyword('PoundColumn', 'column', text='#column',
serialization_code=70),
PoundKeyword('PoundFunction', 'function', text='#function',