1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 20:12:21 +02:00

Fixed parsing

This commit is contained in:
Brian Fiete 2022-08-23 11:25:36 -07:00
parent c4979d33f9
commit c6d9aa37f8

View file

@ -283,7 +283,7 @@ namespace IDE
parser.SetSource(content, fileName, -1); parser.SetSource(content, fileName, -1);
var passInstance = bfSystem.CreatePassInstance(); var passInstance = bfSystem.CreatePassInstance();
defer delete passInstance; defer delete passInstance;
parser.Parse(passInstance, IDEApp.IsBeefFile(fileName)); parser.Parse(passInstance, !IDEApp.IsBeefFile(fileName));
parser.Reduce(passInstance); parser.Reduce(passInstance);
String name = parser.GetLocationName(wantLineNum, wantColumn, .. scope .()); String name = parser.GetLocationName(wantLineNum, wantColumn, .. scope .());