nielsAD / lape

Scripting engine with Pascal-like syntax for FPC and Delphi
118 stars 28 forks source link

Add {$macro CURRENT_FILE} #111

Closed ollydev closed 6 years ago

ollydev commented 6 years ago

Inserts the current filename while parsing.

New output from running Parser_Include.lap

Hi from include!: \tests\include.inc
Hi from included include!: tests\include_in_include.inc
slackydev commented 6 years ago

This is a nice addition. Handly for loading files that exists in cwd

nielsAD commented 6 years ago

Thanks!