diff --git a/spec/fixtures/sample-1/input.nut b/spec/fixtures/sample-1/input.nut index 5596fde6..5a7582e3 100644 --- a/spec/fixtures/sample-1/input.nut +++ b/spec/fixtures/sample-1/input.nut @@ -19,6 +19,7 @@ // should not be included @elseif SOMEVAR2 == 256 // should be included + // @{__FILE__}:@{__LINE__} // should be included @endif diff --git a/spec/fixtures/sample-1/input.nut.json b/spec/fixtures/sample-1/input.nut.json index 52b8faf4..cc705c42 100644 --- a/spec/fixtures/sample-1/input.nut.json +++ b/spec/fixtures/sample-1/input.nut.json @@ -139,6 +139,41 @@ "_line": 22, "_file": "input.nut", "type": "output", + "value": " // ", + "computed": true + }, + { + "_line": 22, + "_file": "input.nut", + "type": "output", + "value": "__FILE__", + "computed": false + }, + { + "_line": 22, + "_file": "input.nut", + "type": "output", + "value": ":", + "computed": true + }, + { + "_line": 22, + "_file": "input.nut", + "type": "output", + "value": "__LINE__", + "computed": false + }, + { + "_line": 22, + "_file": "input.nut", + "type": "output", + "value": "\n", + "computed": true + }, + { + "_line": 23, + "_file": "input.nut", + "type": "output", "value": " // should be included\n", "computed": true } @@ -147,20 +182,20 @@ ] }, { - "_line": 24, + "_line": 25, "_file": "input.nut", "type": "output", "value": "\n", "computed": true }, { - "_line": 25, + "_line": 26, "_file": "input.nut", "type": "conditional", "test": "SOMEVAR2", "consequent": [ { - "_line": 26, + "_line": 27, "_file": "input.nut", "type": "output", "value": " // should be included\n",