fix: variable names containing '_' are not correctly handled
This commit is contained in:
parent
a102ee73fa
commit
bf17e494fd
|
@ -585,7 +585,7 @@ void CppTokenizer::skipToNextToken()
|
|||
|
||||
bool CppTokenizer::isIdentChar(const QChar &ch)
|
||||
{
|
||||
return ch.isLetter();
|
||||
return ch=='_' || ch.isLetter() ;
|
||||
}
|
||||
|
||||
void CppTokenizer::advance()
|
||||
|
|
|
@ -4,7 +4,7 @@ Name=GLUT
|
|||
Icon=CL_GLUT.ico
|
||||
Description=A simple GLUT program
|
||||
Description[zh_CN]=一个简单的GLUT程序
|
||||
Category=Multimedia
|
||||
Category=3D
|
||||
Category[zh_CN]=3D
|
||||
|
||||
[Unit0]
|
||||
|
|
|
@ -4,7 +4,7 @@ Name=GLFW
|
|||
Description=A simple GLFW program
|
||||
Description[zh_CN]=一个简单的GLFW程序
|
||||
Icon=GLFW.ico
|
||||
Category=Multimedia
|
||||
Category=3D
|
||||
Category[zh_CN]=3D
|
||||
|
||||
[Unit0]
|
||||
|
|
|
@ -6,7 +6,7 @@ Icon=Communication.ico
|
|||
Description=A classic Hello World program
|
||||
Description[zh_CN]=一个经典的“世界,你好!”程序
|
||||
Category=Console
|
||||
Category=控制台
|
||||
Category[zh_CN]=控制台
|
||||
|
||||
[Unit0]
|
||||
CName=main.c
|
||||
|
|
|
@ -4,7 +4,7 @@ Name=OpenGL
|
|||
Icon=Pizza.ico
|
||||
Description=A basic OpenGL program
|
||||
Description[zh_CN]=一个基本的OpenGL程序
|
||||
Category=Multimedia
|
||||
Category=3D
|
||||
Category[zh_CN]=3D
|
||||
|
||||
[Unit0]
|
||||
|
|
|
@ -5,7 +5,7 @@ Name[zh_CN]=raylib 3D
|
|||
Icon=raylib.ico
|
||||
Description=A simple 3D program using raylib ( https://raylib.com )
|
||||
Description[zh_CN]=简单的raylib 3D程序 ( https://raylib.com )
|
||||
Category=Multimedia
|
||||
Category=3D
|
||||
Category[zh_CN]=3D
|
||||
|
||||
[Unit0]
|
||||
|
|
Loading…
Reference in New Issue