It was previously understanding them as character literal delimiters, with unfortunate consequences if a numeric literal contained an odd number of them. Recognize that an apostrophe with a digit on each side of it isn't the opening quote of a character literal (unless the digit before it is preceded by a u). Extend the findMocs test to trigger the bug, prior to the fix; verified it passes with the fix. Fixes: QTBUG-98845 Change-Id: I5db3ac59aaeade7c2d6c1fb680ba97261ec0e8a9 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> |
||
|---|---|---|
| .. | ||
| bundle-spaces | ||
| conflicting_targets | ||
| duplicateLibraryEntries | ||
| export_across_file_boundaries | ||
| findDeps | ||
| findMocs | ||
| include_dir | ||
| include_dir_build | ||
| include_pwd | ||
| install_depends | ||
| one_space | ||
| pro_file_cache | ||
| project | ||
| prompt | ||
| quotedfilenames | ||
| rawString | ||
| resources | ||
| shadow_files | ||
| shadow_files_build | ||
| simple_app | ||
| simple_app_build | ||
| simple_dll | ||
| simple_lib | ||
| subdir_via_pro_file_extra_target | ||
| subdirs | ||
| substitutes | ||
| substitutes_build | ||
| windows_resources | ||
| .gitignore | ||