Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-15319

#option inside of BEGINC++ ignored if following ws

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 6.0.0
    • Component/s: eclcc
    • Labels:
      None

      Description

      This relates to gh-1426 in that it didn't actually fix this specific bug mentioned and thus this now a dup of Bugzilla #84603

      https://github.com/hpcc-systems/HPCC-Platform/blame/master/ecl/hql/hqlutil.cpp#L5675

      ...
      case '#':
            if (prev == '\n')
      ...
      

      should be

      ...
      case '#':
            if (prev == '\n' || prev == ' ' || prev == '\t')
      ...
      

      I will move the reg tests to runtime suit with appropriate keys.

      The LRM (and perhaps common sense) suggest that the default should be that of an 'action', yet this does not seem to be the case.

      "By default, embedded C++ functions are assumed to have side-effects,..."

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamienoss Jamie Noss
                Reporter:
                jamienoss Jamie Noss
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: