Fix FTBFS for build out of source #4

Merged
SlavekB merged 3 commits from issue/3/fix-ftbfs-for-build-out-of-source into master 2 years ago
Owner

Several problems are solved here:

  1. FTBFS, if new *.c files are generated for lexer or parser – thank you Michele for your patch.
  2. When generating a new parser.c, it is also appropriate to generate parser.h to make these files consistent. Therefore, the default make rule is not sufficient, but explicit rule is needed.
  3. There was inconsistency in the definition of constants between parser.h and parser.c contained in the source tree. If the new parser.h has been automatically generated, it caused FTBFS in the lexer.
  4. None of these generated files may be part of the source tree.
Several problems are solved here: 1. FTBFS, if new `*.c` files are generated for lexer or parser – thank you Michele for your patch. 2. When generating a new `parser.c`, it is also appropriate to generate `parser.h` to make these files consistent. Therefore, the default make rule is not sufficient, but explicit rule is needed. 3. There was inconsistency in the definition of constants between `parser.h` and `parser.c` contained in the source tree. If the new `parser.h` has been automatically generated, it caused FTBFS in the lexer. 4. None of these generated files may be part of the source tree.
SlavekB added 3 commits 2 years ago
32d72527ff
Fix FTBFS for build outside the source code.
123b20b747
Add an explicit rule to generate parser.
c1d6f4a527
Fix the mismatch of tokens TK_TQOBJECT × TK_QOBJECT and
SlavekB added a new dependency 2 years ago
MicheleC approved these changes 2 years ago
MicheleC left a comment
Owner

Looks good

Looks good
SlavekB merged commit c1d6f4a527 into master 2 years ago
SlavekB deleted branch issue/3/fix-ftbfs-for-build-out-of-source 2 years ago
SlavekB added this to the R14.0.12 release milestone 2 years ago

Reviewers

MicheleC approved these changes 2 years ago
The pull request has been merged as c1d6f4a527.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Blocks Depends on
Reference: TDE/sip4-tqt#4
Loading…
There is no content yet.