Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
45934e88
Commit
45934e88
authored
Jan 02, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 720691 - Code coloring in case of file without extension
parent
ab453a2c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
parserintf.h
src/parserintf.h
+1
-1
No files found.
src/parserintf.h
View file @
45934e88
...
@@ -184,8 +184,8 @@ class ParserManager
...
@@ -184,8 +184,8 @@ class ParserManager
*/
*/
ParserInterface
*
getParser
(
const
char
*
extension
)
ParserInterface
*
getParser
(
const
char
*
extension
)
{
{
if
(
extension
==
0
)
return
m_defaultParser
;
QCString
ext
=
QCString
(
extension
).
lower
();
QCString
ext
=
QCString
(
extension
).
lower
();
if
(
ext
.
isEmpty
())
ext
=
".no_extension"
;
ParserInterface
*
intf
=
m_extensions
.
find
(
ext
);
ParserInterface
*
intf
=
m_extensions
.
find
(
ext
);
if
(
intf
==
0
&&
ext
.
length
()
>
4
)
if
(
intf
==
0
&&
ext
.
length
()
>
4
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment