Skip to content
This repository was archived by the owner on Aug 22, 2019. It is now read-only.

Conversation

@ben-marshall
Copy link
Owner

@ben-marshall ben-marshall commented Jan 14, 2019

Purpose (WIP)

List of changes

  • Include source file in macro descriptions
  • Push file where macro was defined to yy_preprec->current_file stack
    to prevent underflow when returning from multiple defines (see Inbalanced yy_preproc -> current_file Stack #23 for
    problem details).

Fixes:

- Include source file in macro descriptions
- Push file where macro was defined to yy_preprec->current_file stack
  to prevent underflow when returning from multiple defines (see #23 for
  problem details).

 On branch dev/issue-23
 Changes to be committed:
	modified:   src/verilog_preprocessor.c
	modified:   src/verilog_preprocessor.h
	modified:   src/verilog_scanner.l
- Make them always create a new parser context, which is what their
  name suggests they do.
- Fiddle with main function.

 On branch dev/issue-23
 Changes to be committed:
	modified:   src/main.c
	modified:   src/verilog_parser_wrapper.c
@coveralls
Copy link

Coverage Status

Coverage decreased (-1.8%) to 64.798% when pulling cd35aa8 on dev/issue-23 into 5352c2c on master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inbalanced yy_preproc -> current_file Stack

3 participants