Skip to content

Bad tokenization of double-pointers #1289

Closed

Description

@mihaipopescu

Expected versus output diff:

diff --git "a/C:\\work\\external\\uncrustify\\tests\\output\\staging\\60032-UNI-21729.cpp" "b/C:\\work\\external\\uncrustify\\tests\\results\\staging\\60032-UNI-21729.cpp"
index 4266347..09d6f60 100644
--- "a/C:\\work\\external\\uncrustify\\tests\\output\\staging\\60032-UNI-21729.cpp"
+++ "b/C:\\work\\external\\uncrustify\\tests\\results\\staging\\60032-UNI-21729.cpp"
@@ -1,3 +1,3 @@
-extern "C" void __declspec(dllexport) GetAccountNameAndDomain(HWND /*hwndParent*/, int string_size, TCHAR * variables, stack_t** stacktop, extra_parameters* /*extra*/)
+extern "C" void __declspec(dllexport) GetAccountNameAndDomain(HWND /*hwndParent*/, int string_size, TCHAR * variables, stack_t * *stacktop, extra_parameters* /*extra*/)
 {
 }

Debug support files:

60032-UNI-21729.cpp
60032-UNI-21729.cpp.log
60032-UNI-21729.cpp.unc
Uncrustify.Cpp.cfg
UNI-21729.cpp

Disclaimer:

Note: This is a generated issue from our internal issue tracker.
Expect a dry description which could be insufficient to properly understand the issue.
On the other hand, the support files should be sufficient to easily reproduce and debug the issue,
but please comment if it's still unclear and I will get back with clarifications.
See main discussion thread here #1223.

Activity

  1. added a commit that references this issue on Nov 28, 2017
  2. gmaurel commented on Nov 28, 2017

    @gmaurel
    Collaborator

    The bug #1289 is fixed

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions