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
6920d3ec
Commit
6920d3ec
authored
Dec 10, 2014
by
orbitcowboy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typos in comments. No functional changes.
parent
dc37f6c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
doxysearch.cpp
addon/doxysearch/doxysearch.cpp
+3
-3
expert.cpp
addon/doxywizard/expert.cpp
+1
-1
ErrorHandler.h
vhdlparser/ErrorHandler.h
+1
-1
No files found.
addon/doxysearch/doxysearch.cpp
View file @
6920d3ec
...
...
@@ -116,7 +116,7 @@ static std::string uriDecode(const std::string & sSrc)
}
/** return list of strings that result when splitting \a s using
* delim
e
ter \a delim
* delim
i
ter \a delim
*/
static
std
::
vector
<
std
::
string
>
split
(
const
std
::
string
&
s
,
char
delim
)
{
...
...
@@ -137,7 +137,7 @@ T fromString(const std::string& s)
return
t
;
}
/** Class that holds the startin position of a word */
/** Class that holds the startin
g
position of a word */
struct
WordPosition
{
WordPosition
(
int
s
,
int
i
)
:
start
(
s
),
index
(
i
)
{}
...
...
@@ -196,7 +196,7 @@ static bool insideRange(const std::vector<Range> &ranges,int start,int len)
}
/** Returns a list of text \a fragments from \a s containing one or
* more \a words. The list is sorted
o
ccording to the
* more \a words. The list is sorted
a
ccording to the
* number of occurrences of words within the fragment.
*/
static
void
highlighter
(
const
std
::
string
&
s
,
...
...
addon/doxywizard/expert.cpp
View file @
6920d3ec
...
...
@@ -452,7 +452,7 @@ static QString getDocsForNode(const QDomElement &child)
// LaTeX name as formula -> LaTeX
regexp
.
setPattern
(
SA
(
"
\\\\
f
\\
$
\\\\
mbox
\\
{
\\\\
LaTeX
\\
}
\\\\
f
\\
$"
));
docs
.
replace
(
regexp
,
SA
(
"LaTeX"
));
// Other for
ula's (now just 2) so explicite
ly mentioned.
// Other for
mula's (now just 2) so explicit
ly mentioned.
regexp
.
setPattern
(
SA
(
"
\\\\
f
\\
$2
\\
^
\\
{
\\
(16
\\
+
\\\\
mbox
\\
{LOOKUP
\\\\
_CACHE
\\\\
_SIZE
\\
}
\\
)
\\
}
\\\\
f
\\
$"
));
docs
.
replace
(
regexp
,
SA
(
"2^(16+LOOKUP_CACHE_SIZE)"
));
regexp
.
setPattern
(
SA
(
"
\\\\
f
\\
$2
\\
^
\\
{16
\\
} = 65536
\\\\
f
\\
$"
));
...
...
vhdlparser/ErrorHandler.h
View file @
6920d3ec
...
...
@@ -31,7 +31,7 @@ JAVACC_SIMPLE_STRING addUnicodeEscapes(JAVACC_STRING_TYPE str);
// Called when the parser cannot continue parsing.
// last - the last token successfully parsed.
// unexpected - the token at which the error occurs.
// production - the production in which this error occur
r
s.
// production - the production in which this error occurs.
virtual
void
handleParseError
(
Token
*
/*last*/
,
Token
*
unexpected
,
JAVACC_SIMPLE_STRING
production
,
VhdlParser
*
/*parser*/
)
{
error_count
++
;
fprintf
(
stderr
,
"Encountered: %s at: %d:%d while parsing: %s
\n
"
,
addUnicodeEscapes
(
unexpected
->
image
).
c_str
(),
unexpected
->
beginLine
,
unexpected
->
beginColumn
,
production
.
c_str
());
...
...
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