zeromq / zproject

CLASS Project Generator
Mozilla Public License 2.0
148 stars 104 forks source link

Problem: Delphi - No code is generated for global constants. #1297

Closed stephan57160 closed 2 years ago

stephan57160 commented 2 years ago

Solution: Generate missing code.

Additionnally, this fixes also global/class constant names when project name is like 'foo-bar-project' or 'Foo Bar Project'. In both cases, we now have:

  // this is a
  // multi-line comment
  // for global constant
  FOO_BAR_PROJECT_GLOBAL_CONSTANT_STUFF = "123";

Instead of invalid constant names...

Note: There might be many more issues to solve with such project names ...