robotpy / robotpy/cxxheaderparser

[PARSE BUG]: file produced wineg++ by wine windows.h

Open
#118 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
153
Forks
30
Avg merge
2d 7h
Merged PRs (30d)
1

Description

Problem description

Many errors when parsing next file produced by:

windows.txt

wineg++ -E -P --std=c++11 /opt/wine-stable/include/wine/windows/windows.h > windows.txt
$ wine --version
wine-10.0
C++ code that can't be parsed correctly (please double-check that https://robotpy.github.io/cxxheaderparser/ has the same error)
// see file

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported wineg++ preprocessing command with the attached windows.txt input and compare the parser's result against the reported errors. Trace the first failure in the parser and use the same input to verify that the Windows header is parsed without those errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.