Skip to content

News predefined constants ? #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
C-far opened this issue Jul 4, 2016 · 1 comment
Closed

News predefined constants ? #105

C-far opened this issue Jul 4, 2016 · 1 comment

Comments

@C-far
Copy link

C-far commented Jul 4, 2016

I would like to know if it's possible to put news predefined constants :
__File : get the file name where the macro is.
__Timestamp : get the current timestamp at the compilation.
__Folder : get the folder name where the file is.

@C-far
Copy link
Author

C-far commented Jul 8, 2016

Bump :p :

Zeex added a commit that referenced this issue Jan 29, 2017
__file will be always set to the name of the currently processed input file.
It's similar to the __FILE__ macro in C.

See #105, #140.
@Zeex Zeex closed this as completed in 8d6f051 Feb 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant