-
Notifications
You must be signed in to change notification settings - Fork 217
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
Stub generator script filtering all "extern" strings #1048
Comments
jphickey
added a commit
to jphickey/osal
that referenced
this issue
May 24, 2021
In the stub generator script, filter only whole words when ignoring keywords. Do not match if the word appears as a substring inside a larger word.
jphickey
added a commit
to jphickey/osal
that referenced
this issue
May 25, 2021
Truncate input lines at C++-style comment markers, in case users/projects allow this style of comment.
astrogeco
added a commit
that referenced
this issue
Jun 2, 2021
Fix #1048, filter only whole words for keyword match
pepepr08
pushed a commit
to pepepr08/osal
that referenced
this issue
Jun 9, 2021
In the stub generator script, filter only whole words when ignoring keywords. Do not match if the word appears as a substring inside a larger word.
pepepr08
pushed a commit
to pepepr08/osal
that referenced
this issue
Jun 9, 2021
Truncate input lines at C++-style comment markers, in case users/projects allow this style of comment.
jphickey
pushed a commit
to jphickey/osal
that referenced
this issue
Aug 10, 2022
Fix nasa#1068, Create cFE Security Policy Markdown
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In order to parse the headers the "generate_stubs.pl" script needs to filter out "extern" keywords. Problem is, it is filtering the "extern" string even if it appears inside a larger string, not just the keywords.
To Reproduce
View the generated stub for "OS_TimeBaseCreate". The last parameter should be
external_sync
but it its appearing in the generated code asal_sync
instead.Expected behavior
Should appear in the generated code as
external_sync
, same as header.Code snips
osal/src/ut-stubs/osapi-timebase-stubs.c
Line 41 in 1d183e9
System observed on:
Ubuntu
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: