File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -915,20 +915,20 @@ void TemplateSimplifier::getTemplateInstantiations()
915915 tok->insertToken (" float" );
916916 else if (suffix == ' l' || suffix == ' L' ) {
917917 tok->insertToken (" double" );
918- tok->insertToken ( " long " );
918+ tok->next ()-> isLong ( true );
919919 } else
920920 tok->insertToken (" double" );
921921 } else if (num.isInt ()) {
922922 std::string suffix = MathLib::getSuffix (tok->strAt (3 ));
923923 if (suffix.find (" LL" ) != std::string::npos) {
924924 tok->insertToken (" long" );
925- tok->insertToken ( " long " );
925+ tok->next ()-> isLong ( true );
926926 } else if (suffix.find (' L' ) != std::string::npos)
927927 tok->insertToken (" long" );
928928 else
929929 tok->insertToken (" int" );
930930 if (suffix.find (' U' ) != std::string::npos)
931- tok->insertToken ( " unsigned " );
931+ tok->next ()-> isUnsigned ( true );
932932 }
933933 break ;
934934 }
You can’t perform that action at this time.
0 commit comments