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
963e0adf
Commit
963e0adf
authored
May 11, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes to the template context
parent
47bc520a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
context.cpp
src/context.cpp
+4
-4
template.cpp
src/template.cpp
+0
-1
No files found.
src/context.cpp
View file @
963e0adf
...
...
@@ -4856,7 +4856,7 @@ class NamespaceTreeContext::Private : public PropertyMapper
public
:
TemplateVariant
tree
()
const
{
return
TemplateVariant
(
&
m_namespaceTree
);
return
m_namespaceTree
.
get
(
);
}
TemplateVariant
fileName
()
const
{
...
...
@@ -5110,7 +5110,7 @@ class FileTreeContext::Private : public PropertyMapper
}
TemplateVariant
tree
()
const
{
return
TemplateVariant
(
&
m_dirFileTree
);
return
m_dirFileTree
.
get
(
);
}
TemplateVariant
fileName
()
const
{
...
...
@@ -5570,7 +5570,7 @@ class ModuleTreeContext::Private : public PropertyMapper
public
:
TemplateVariant
tree
()
const
{
return
TemplateVariant
(
&
m_moduleList
);
return
m_moduleList
.
get
(
);
}
TemplateVariant
fileName
()
const
{
...
...
@@ -5706,7 +5706,7 @@ class ExampleListContext::Private : public PropertyMapper
public
:
TemplateVariant
items
()
const
{
return
TemplateVariant
(
&
m_pageList
);
return
m_pageList
.
get
(
);
}
TemplateVariant
fileName
()
const
{
...
...
src/template.cpp
View file @
963e0adf
...
...
@@ -3214,7 +3214,6 @@ class TemplateNodeCreate : public TemplateNodeCreator<TemplateNodeCreate>
{
QCString
templateFile
=
m_templateExpr
->
resolve
(
c
).
toString
();
QCString
outputFile
=
m_fileExpr
->
resolve
(
c
).
toString
();
printf
(
"TemplateNodeCreate file='%s' template='%s'
\n
"
,
outputFile
.
data
(),
templateFile
.
data
());
if
(
templateFile
.
isEmpty
())
{
ci
->
warn
(
m_templateName
,
m_line
,
"empty template name parameter for create command
\n
"
);
...
...
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