Skip to content

Set @filelist macro before reading file (fixes #857) - #858

Merged
brucemiller merged 1 commit into
brucemiller:masterfrom
tkw1536:filelist-fix
Aug 3, 2017
Merged

brucemiller merged 1 commit into
brucemiller:masterfrom
tkw1536:filelist-fix

Conversation

@tkw1536

@tkw1536 tkw1536 commented Aug 2, 2017

Copy link
Copy Markdown
Contributor

When loading a file through InputDefinitions, the @filelist macro was
only set after the file has finished loading (see #857). This results in the macro
being empty during the processing of a file.

This commit fixes the issue by setting the @filelist macro before
loading of the file. Furthermore, it adds a testcase to prevent this bug
from reappearing in the future.

When loading a file through `InputDefinitions`, the @FileList macro was
only set after the file has finished loading. This results in the macro
being empty during the processing of a file.

This commit fixes the issue by setting the @FileList macro before
loading of the file. Furthermore, it adds a testcase to prevent this bug
from reappearing in the future.
@tkw1536

tkw1536 commented Aug 2, 2017

Copy link
Copy Markdown
Contributor Author

/cc @brucemiller As I mentioned to you offline, I have had some issues with implementing \ProcessOptionsX* for class files. I have basically tracked it down to this.

@brucemiller

Copy link
Copy Markdown
Owner

Looks good, but you forgot to add your test case files to the MANIFEST

@brucemiller

Copy link
Copy Markdown
Owner

DOH!!! It's the first file in the commit !?!?!

@brucemiller
brucemiller merged commit c5d7566 into brucemiller:master Aug 3, 2017
@tkw1536
tkw1536 deleted the filelist-fix branch August 3, 2017 23:42
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

Successfully merging this pull request may close these issues.

2 participants