From 9fd7f3aeb4c2e78bda669bf4ef6fff1c12c062a4 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Sat, 23 Dec 2017 11:50:49 -0500 Subject: Misc. typos Super trivial typos Some are in qtools/ which I know is a 3rd party dependency but as we know is now obsolete upstream. I reckon it wouldn't be much of an issue to merge neverthless Tacked on several more commits --- addon/doxyparse/doxyparse.1 | 2 +- addon/doxyparse/doxyparse.cpp | 2 +- qtools/qdatastream.cpp | 2 +- qtools/qdict.doc | 2 +- qtools/qstring.cpp | 2 +- qtools/qtextcodec.cpp | 2 +- qtools/qvaluelist.doc | 32 ++++++++++++++++---------------- qtools/qwaitcondition_unix.cpp | 2 +- qtools/qxml.cpp | 18 +++++++++--------- src/cite.cpp | 2 +- src/classdef.cpp | 2 +- src/commentcnv.l | 2 +- src/commentscan.l | 2 +- src/condparser.cpp | 6 +++--- src/config.xml | 2 +- src/configgen.py | 2 +- src/context.cpp | 2 +- src/doxygen.cpp | 2 +- src/fortrancode.l | 2 +- src/fortranscanner.l | 8 ++++---- src/htmlentity.cpp | 2 +- src/rtfgen.cpp | 2 +- src/tclscanner.l | 2 +- src/template.cpp | 2 +- src/util.cpp | 2 +- src/vhdlcode.l | 8 ++++---- src/vhdldocgen.cpp | 10 +++++----- src/xmlcode.l | 2 +- templates/html/sync_off.luma | 2 +- templates/html/sync_on.luma | 2 +- 30 files changed, 65 insertions(+), 65 deletions(-) diff --git a/addon/doxyparse/doxyparse.1 b/addon/doxyparse/doxyparse.1 index d8530ab..4fecb2f 100644 --- a/addon/doxyparse/doxyparse.1 +++ b/addon/doxyparse/doxyparse.1 @@ -1,6 +1,6 @@ .TH DOXYPARSE "1" "DATE" "doxyparse VERSION" "User Commands" .SH NAME -doxyparse \- parse and dumps informations about the code +doxyparse \- parse and dumps information about the code .SH SYNOPSIS .B doxyparse [\fIsource file\fR...] diff --git a/addon/doxyparse/doxyparse.cpp b/addon/doxyparse/doxyparse.cpp index ee34e3b..6a1886c 100644 --- a/addon/doxyparse/doxyparse.cpp +++ b/addon/doxyparse/doxyparse.cpp @@ -126,7 +126,7 @@ static void printModule(std::string module) { printf(" %s:\n", module.c_str()); } static void printClassInformation(std::string information) { - printf(" informations: %s\n", information.c_str()); + printf(" information: %s\n", information.c_str()); } static void printInheritance(std::string base_class) { printf(" inherits: %s\n", base_class.c_str()); diff --git a/qtools/qdatastream.cpp b/qtools/qdatastream.cpp index 8505dd4..70bcab1 100644 --- a/qtools/qdatastream.cpp +++ b/qtools/qdatastream.cpp @@ -381,7 +381,7 @@ void QDataStream::setByteOrder( int bo ) \fn void QDataStream::setVersion( int v ) Sets the version number of the data serialization format. - In order to accomodate for new functionality, the datastream + In order to accommodate for new functionality, the datastream serialization format of some Qt classes has changed in some versions of Qt. If you want to read data that was created by an earlier version of Qt, or write data that can be read by a program that was compiled with diff --git a/qtools/qdict.doc b/qtools/qdict.doc index d9f6ca5..d2e26c0 100644 --- a/qtools/qdict.doc +++ b/qtools/qdict.doc @@ -52,7 +52,7 @@ The key is used for inserting and looking up an item. QDict has \l QString keys, which are Unicode strings. If you want to use non-Unicode, plain 8-bit \c char* keys, use the QAsciiDict template. - A QDict has the same performace as a QAsciiDict. + A QDict has the same performance as a QAsciiDict. The dictionary has very fast insertion and lookup. diff --git a/qtools/qstring.cpp b/qtools/qstring.cpp index d831cb1..e04a852 100644 --- a/qtools/qstring.cpp +++ b/qtools/qstring.cpp @@ -13670,7 +13670,7 @@ QString &QString::replace( uint index, uint len, const QString &s ) /*! Replaces \a len characters starting at position \a index by - \a slen units ot QChar data from \a s, and returns a reference to the string. + \a slen units to QChar data from \a s, and returns a reference to the string. \sa insert(), remove() */ diff --git a/qtools/qtextcodec.cpp b/qtools/qtextcodec.cpp index bd874bb..842a72d 100644 --- a/qtools/qtextcodec.cpp +++ b/qtools/qtextcodec.cpp @@ -488,7 +488,7 @@ static bool try_locale_list( const char * const locale[], const char * lang ) } // For the probably_koi8_locales we have to look. the standard says -// these are 8859-5, but almsot all Russion users uses KOI8-R and +// these are 8859-5, but almost all Russian users uses KOI8-R and // incorrectly set $LANG to ru_RU. We'll check tolower() to see what // tolower() thinks ru_RU means. diff --git a/qtools/qvaluelist.doc b/qtools/qvaluelist.doc index e4621d5..918d08e 100644 --- a/qtools/qvaluelist.doc +++ b/qtools/qvaluelist.doc @@ -139,7 +139,7 @@ In addition you can search items in the list with the find() function. It exists in a const and a non const version. It starts searching from the beginning of the list, but another flavor of the find() function allows you to specify where searching should start. - If you just want to know wether a certain item is at least once in the list, then you + If you just want to know whether a certain item is at least once in the list, then you can use the contains() function. Since QValueList is value based there is no need to care about deleting elements in the @@ -201,7 +201,7 @@ of this list become invalidated. Since QValueList is highly tuned for performance you wont see warnings if you use invalid iterators, because it is impossible for - an iterator to check wether it is valid or not. + an iterator to check whether it is valid or not. */ /*! @@ -258,16 +258,16 @@ /*! \fn const T& QValueList::operator[] ( uint i ) const Returns a const reference to the item with index \e i in the list. - It is up to you to check wether this item really exists. You can do that easily - with the count() function. However this operator does not check wether \e i + It is up to you to check whether this item really exists. You can do that easily + with the count() function. However this operator does not check whether \e i is in range and will deliver undefined results if it does not exist. */ /*! \fn T& QValueList::operator[] ( uint i ) Returns a reference to the item with index \e i in the list. - It is up to you to check wether this item really exists. You can do that easily - with the count() function. However this operator does not check wether \e i + It is up to you to check whether this item really exists. You can do that easily + with the count() function. However this operator does not check whether \e i is in range and will deliver undefined results if it does not exist. In contrast to the const operator[] you may manipulate the value returned by this operator. @@ -566,7 +566,7 @@ QValueList is highly optimized for performance and memory usage. On the other hand that means that you have to be a bit more careful by what you are doing. QValueList does not know about all its iterators - and the iterators dont even know to which list they belong. That makes + and the iterators don't even know to which list they belong. That makes things fast and slim but a bit dangerous because it is up to you to make sure that iterators you are using are still valid. QListIterator will be able to give warnings while QValueListIterator may end up in an undefined state. @@ -627,7 +627,7 @@ \fn QValueListIterator& QValueListIterator::operator++() Prefix ++ makes the succeeding item current and returns an iterator pointing to the new current item. - The iterator can not check wether it reached the end of the list. Incrementing + The iterator can not check whether it reached the end of the list. Incrementing the iterator as returned by end() causes undefined results. */ @@ -635,7 +635,7 @@ \fn QValueListIterator QValueListIterator::operator++(int) Postfix ++ makes the succeeding item current and returns an iterator pointing to the new current item. - The iterator can not check wether it reached the end of the list. Incrementing + The iterator can not check whether it reached the end of the list. Incrementing the iterator as returned by end() causes undefined results. */ @@ -643,7 +643,7 @@ \fn QValueListIterator& QValueListIterator::operator--() Prefix -- makes the previous item current and returns an iterator pointing to the new current item. - The iterator can not check wether it reached the beginning of the list. Decrementing + The iterator can not check whether it reached the beginning of the list. Decrementing the iterator as returned by begin() causes undefined results. */ @@ -651,7 +651,7 @@ \fn QValueListIterator QValueListIterator::operator--(int) Postfix -- makes the previous item current and returns an iterator pointing to the new current item. - The iterator can not check wether it reached the beginning of the list. Decrementing + The iterator can not check whether it reached the beginning of the list. Decrementing the iterator as returned by begin() causes undefined results. */ @@ -680,7 +680,7 @@ list. It does not allow to modify the values of the list since this would break the const semantics. - For more informations on QValueList iterators see QValueListIterator. + For more information on QValueList iterators see QValueListIterator. \sa QValueListIterator, QValueList */ @@ -733,7 +733,7 @@ \fn QValueListConstIterator& QValueListConstIterator::operator++() Prefix ++ makes the succeeding item current and returns an iterator pointing to the new current item. - The iterator can not check wether it reached the end of the list. Incrementing + The iterator can not check whether it reached the end of the list. Incrementing the iterator as returned by end() causes undefined results. */ @@ -741,7 +741,7 @@ \fn QValueListConstIterator QValueListConstIterator::operator++(int) Postfix ++ makes the succeeding item current and returns an iterator pointing to the new current item. - The iterator can not check wether it reached the end of the list. Incrementing + The iterator can not check whether it reached the end of the list. Incrementing the iterator as returned by end() causes undefined results. */ @@ -749,7 +749,7 @@ \fn QValueListConstIterator& QValueListConstIterator::operator--() Prefix -- makes the previous item current and returns an iterator pointing to the new current item. - The iterator can not check wether it reached the beginning of the list. Decrementing + The iterator can not check whether it reached the beginning of the list. Decrementing the iterator as returned by begin() causes undefined results. */ @@ -757,7 +757,7 @@ \fn QValueListConstIterator QValueListConstIterator::operator--(int) Postfix -- makes the previous item current and returns an iterator pointing to the new current item. - The iterator can not check wether it reached the beginning of the list. Decrementing + The iterator can not check whether it reached the beginning of the list. Decrementing the iterator as returned by begin() causes undefined results. */ diff --git a/qtools/qwaitcondition_unix.cpp b/qtools/qwaitcondition_unix.cpp index d1ff27e..0a6a09b 100644 --- a/qtools/qwaitcondition_unix.cpp +++ b/qtools/qwaitcondition_unix.cpp @@ -67,7 +67,7 @@ class QWaitConditionPrivate code = pthread_cond_wait(&cond, &mutex); if (code == 0 && wakeups == 0) { - // many vendors warn of spurios wakeups from + // many vendors warn of spurious wakeups from // pthread_cond_wait(), especially after signal delivery, // even though POSIX doesn't allow for it... sigh continue; diff --git a/qtools/qxml.cpp b/qtools/qxml.cpp index 806bd42..072997e 100644 --- a/qtools/qxml.cpp +++ b/qtools/qxml.cpp @@ -44,7 +44,7 @@ // NOT REVISED // Error strings for the XML reader -#define XMLERR_OK "no error occured" +#define XMLERR_OK "no error occurred" #define XMLERR_TAGMISMATCH "tag mismatch" #define XMLERR_UNEXPECTEDEOF "unexpected end of file" #define XMLERR_FINISHEDPARSINGWHILENOTEOF "parsing is finished but end of file is not reached" @@ -226,28 +226,28 @@ QString QXmlParseException::message() const return msg; } /*! - Returns the column number the error occured. + Returns the column number the error occurred. */ int QXmlParseException::columnNumber() const { return column; } /*! - Returns the line number the error occured. + Returns the line number the error occurred. */ int QXmlParseException::lineNumber() const { return line; } /*! - Returns the public identifier the error occured. + Returns the public identifier the error occurred. */ QString QXmlParseException::publicId() const { return pub; } /*! - Returns the system identifier the error occured. + Returns the system identifier the error occurred. */ QString QXmlParseException::systemId() const { @@ -403,7 +403,7 @@ void QXmlNamespaceSupport::splitName( const QString& qname, and looking it up among the prefixes currently declared. First parameter is the raw XML 1.0 name to be processed. The second parameter - is a flag wheter the name is the name of an attribute (TRUE) or not (FALSE). + is a flag whether the name is the name of an attribute (TRUE) or not (FALSE). The return values will be stored in the last two parameters as follows:
    @@ -1079,7 +1079,7 @@ finished: \fn bool QXmlErrorHandler::error( const QXmlParseException& exception ) A reader might use this function to report a recoverable error. A recoverable - error corresponds to the definiton of "error" in section 1.2 of the XML 1.0 + error corresponds to the definition of "error" in section 1.2 of the XML 1.0 specification. The reader must continue to provide normal parsing events after invoking this @@ -5652,7 +5652,7 @@ parseError: head stands on the first character after the reference. charDataRead is set to FALSE if the reference must be parsed. The - charachter(s) which the reference mapped to are inserted at the reference + character(s) which the reference mapped to are inserted at the reference position. The head stands on the first character of the replacement). */ bool QXmlSimpleReader::parseReference( bool &charDataRead, EntityRecognitionContext context ) @@ -5943,7 +5943,7 @@ bool QXmlSimpleReader::processReference( bool &charDataRead, EntityRecognitionCo } } else { // "Unparsed" - // ### notify for "Occurs as Attribute Value" missing (but this is no refence, anyway) + // ### notify for "Occurs as Attribute Value" missing (but this is no reference, anyway) // Forbidden d->error = XMLERR_UNPARSEDENTITYREFERENCE; charDataRead = FALSE; diff --git a/src/cite.cpp b/src/cite.cpp index d934d0a..f86350b 100644 --- a/src/cite.cpp +++ b/src/cite.cpp @@ -286,7 +286,7 @@ void CiteDict::generatePage() const thisDir.remove(citeListFile); thisDir.remove(doxygenBstFile); thisDir.remove(bib2xhtmlFile); - // we might try to remove too many files as empty files didn't get a coresponding new file + // we might try to remove too many files as empty files didn't get a corresponding new file // but the remove function does not emit an error for it and we don't catch the error return // so no problem. for (unsigned int j = 1; j <= citeDataList.count(); j++) diff --git a/src/classdef.cpp b/src/classdef.cpp index 07e723b..e1a80ce 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -158,7 +158,7 @@ class ClassDefImpl /* user defined member groups */ MemberGroupSDict *memberGroupSDict; - /*! Is this an abstact class? */ + /*! Is this an abstract class? */ bool isAbstract; /*! Is the class part of an unnamed namespace? */ diff --git a/src/commentcnv.l b/src/commentcnv.l index ebee914..44e2543 100644 --- a/src/commentcnv.l +++ b/src/commentcnv.l @@ -667,7 +667,7 @@ void replaceComment(int offset); } } } - /* Python an VHDL share CComment, so special attention for ending commments is required */ + /* Python an VHDL share CComment, so special attention for ending comments is required */ "\n"/[ \t]*"#" { if (g_lang!=SrcLangExt_VHDL) { diff --git a/src/commentscan.l b/src/commentscan.l index f26cabd..588d40a 100644 --- a/src/commentscan.l +++ b/src/commentscan.l @@ -1593,7 +1593,7 @@ RCSTAG "$"{ID}":"[^\n$]+"$" /* --------- handle arguments of the file/dir/example command ------------ */ -{DOCNL} { // no file name specfied +{DOCNL} { // no file name specified if (*yytext=='\n') yyLineNr++; addOutput('\n'); BEGIN( Comment ); diff --git a/src/condparser.cpp b/src/condparser.cpp index 69f8d29..6c5d787 100644 --- a/src/condparser.cpp +++ b/src/condparser.cpp @@ -51,7 +51,7 @@ bool CondParser::parse(const char *fileName,int lineNr,const char *expr) #if 0 // check for garbage at the end of the expression - // an expression ends with a character '\0' and token_type = delimeter + // an expression ends with a character '\0' and token_type = delimiter if (m_tokenType!=DELIMITER || !m_token.isEmpty()) { if (m_tokenType == DELIMITER) @@ -84,7 +84,7 @@ bool CondParser::parse(const char *fileName,int lineNr,const char *expr) /** - * checks if the given char c is a delimeter + * checks if the given char c is a delimiter * minus is checked apart, can be unary minus */ static bool isDelimiter(const char c) @@ -155,7 +155,7 @@ void CondParser::getToken() return; } - // check for operators (delimeters) + // check for operators (delimiters) if (isDelimiter(*m_e)) { m_tokenType = DELIMITER; diff --git a/src/config.xml b/src/config.xml index 4d9a048..7bc1fe8 100644 --- a/src/config.xml +++ b/src/config.xml @@ -1644,7 +1644,7 @@ to disable this feature. path to the compilation database used when the files were built. This is equivalent to specifying the "-p" option to a clang tool, such as clang-check. These options - will then be pased to the parser. + will then be passed to the parser. @note The availability of this option depends on whether or not doxygen was generated with the `-Duse-libclang=ON` option for CMake. diff --git a/src/configgen.py b/src/configgen.py index 3b86954..33857b7 100755 --- a/src/configgen.py +++ b/src/configgen.py @@ -63,7 +63,7 @@ def transformDocs(doc): doc = re.sub('([^<]*)', '\\2 (see: \\1)', doc) # LaTeX name as formula -> LaTeX doc = doc.replace("\\f$\\mbox{\\LaTeX}\\f$", "LaTeX") - # Other forula's (now just 2) so explicitely mentioned. + # Other formula's (now just 2) so explicitly mentioned. doc = doc.replace("\\f$2^{(16+\\mbox{LOOKUP\\_CACHE\\_SIZE})}\\f$", "2^(16+LOOKUP_CACHE_SIZE)") doc = doc.replace("\\f$2^{16} = 65536\\f$", "2^16=65536") diff --git a/src/context.cpp b/src/context.cpp index de31202..896c4e0 100644 --- a/src/context.cpp +++ b/src/context.cpp @@ -1400,7 +1400,7 @@ class DefinitionContext inst.addProperty("isLinkable",&DefinitionContext::isLinkable); //%% bool isLinkableInProject: can the symbol be linked within this project? inst.addProperty("isLinkableInProject",&DefinitionContext::isLinkableInProject); - //%% int dynSectionId: identifier that can be used for collapsable sections + //%% int dynSectionId: identifier that can be used for collapsible sections inst.addProperty("dynSectionId",&DefinitionContext::dynSectionId); //%% string language: the programming language in which the symbol is written inst.addProperty("language",&DefinitionContext::language); diff --git a/src/doxygen.cpp b/src/doxygen.cpp index ec97d43..cf9159c 100644 --- a/src/doxygen.cpp +++ b/src/doxygen.cpp @@ -8403,7 +8403,7 @@ static void flushUnresolvedRelations() // This is needed before resolving the inheritance relations, since // it would otherwise not find the inheritance relation // for C in the example below, as B::I was already found to be unresolvable - // (which is correct if you igore the inheritance relation between A and B). + // (which is correct if you ignore the inheritance relation between A and B). // // class A { class I {} }; // class B : public A {}; diff --git a/src/fortrancode.l b/src/fortrancode.l index 141e762..501b492 100644 --- a/src/fortrancode.l +++ b/src/fortrancode.l @@ -1,6 +1,6 @@ /****************************************************************************** * - * Parser for syntax hightlighting and references for Fortran90 F subset + * Parser for syntax highlighting and references for Fortran90 F subset * * Copyright (C) by Anke Visser * based on the work of Dimitri van Heesch. diff --git a/src/fortranscanner.l b/src/fortranscanner.l index 23c0970..85b6de9 100644 --- a/src/fortranscanner.l +++ b/src/fortranscanner.l @@ -102,8 +102,8 @@ struct SymbolModifiers { bool nopass; bool pass; bool contiguous; - bool volat; /* volatile is a reserverd name */ - bool value; /* volatile is a reserverd name */ + bool volat; /* volatile is a reserved name */ + bool value; /* volatile is a reserved name */ QCString passVar; SymbolModifiers() : type(), returnName(), protection(NONE_P), direction(NONE_D), @@ -1720,7 +1720,7 @@ SymbolModifiers& SymbolModifiers::operator|=(const SymbolModifiers &mdfs) return *this; } -/*! Extracts and adds passed modifier to these modifiers.*/ +/*! Extracts and adds passed modifier to these modifiers.*/ SymbolModifiers& SymbolModifiers::operator|=(QCString mdfString) { mdfString = mdfString.lower(); @@ -2375,7 +2375,7 @@ static void subrHandleCommentBlock(const QCString &doc,bool brief) // strip direction loc_doc = loc_doc.right(loc_doc.length()-strlen(directionParam[SymbolModifiers::IN])); loc_doc.stripWhiteSpace(); - // in case of emty documentation or (now) just name, consider it as no documemntation + // in case of empty documentation or (now) just name, consider it as no documemntation if (loc_doc.isEmpty() || (loc_doc.lower() == argName.lower())) { // reset current back to the part inside the routine diff --git a/src/htmlentity.cpp b/src/htmlentity.cpp index 668c224..3d95705 100644 --- a/src/htmlentity.cpp +++ b/src/htmlentity.cpp @@ -22,7 +22,7 @@ static const int g_numberHtmlMappedCmds = 11; //! @brief Structure defining all HTML4 entities, doxygen extensions and doxygen commands representing special symbols. //! @details In case an entity does not exist a NULL is given for the entity. The first column contains the symbolic code -//! for the entity, see also doxparser.h The second column contains the name of the enitity (without the starting \& and +//! for the entity, see also doxparser.h The second column contains the name of the entity (without the starting \& and //! ending ;) static struct htmlEntityInfo { diff --git a/src/rtfgen.cpp b/src/rtfgen.cpp index 5e8dbd5..7fcfbb3 100644 --- a/src/rtfgen.cpp +++ b/src/rtfgen.cpp @@ -2448,7 +2448,7 @@ static bool preProcessFile(QDir &d,QCString &infName, FTextStream &t, bool bIncl } else // no INCLUDETEXT on this line { - // elaborate hoopla to skip the final "}" if we didn't include the + // elaborate hoopla to skip the final "}" if we didn't include the // headers if (!f.atEnd() || bIncludeHeader) { diff --git a/src/tclscanner.l b/src/tclscanner.l index e50d9c1..791ecc4 100644 --- a/src/tclscanner.l +++ b/src/tclscanner.l @@ -426,7 +426,7 @@ static struct QCString file_name; // name of used file ParserInterface *this_parser; // myself int command; // true if command was found - int comment; // set true if comment was scaned + int comment; // set true if comment was scanned int brace_level; // bookkeeping of braces int bracket_level; // bookkeeping of brackets int bracket_quote; // bookkeeping of quotes (toggles) diff --git a/src/template.cpp b/src/template.cpp index 10b3e43..3e39d3c 100644 --- a/src/template.cpp +++ b/src/template.cpp @@ -5113,7 +5113,7 @@ class TemplateEngine::Private } else { - err("Cound not open template file %s\n",fileName.data()); + err("Could not open template file %s\n",fileName.data()); } } return templ; diff --git a/src/util.cpp b/src/util.cpp index 8e4c5a7..438efc9 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -4751,7 +4751,7 @@ bool resolveRef(/* in */ const char *scName, { return resolveRef(scName,name,inSeeBlock,resContext,resMember,FALSE,0,checkScope); } - if (bracePos!=-1) // Try without parameters as well, could be a contructor invocation + if (bracePos!=-1) // Try without parameters as well, could be a constructor invocation { *resContext=getClass(fullName.left(bracePos)); if (*resContext) diff --git a/src/vhdlcode.l b/src/vhdlcode.l index 3e027d7..ce1f92b 100644 --- a/src/vhdlcode.l +++ b/src/vhdlcode.l @@ -13,7 +13,7 @@ * */ /****************************************************************************** - * Parser for syntax hightlighting and references for vhdl subset + * Parser for syntax highlighting and references for vhdl subset * written by M. Kreis * supports VHDL-87/93/2008 ******************************************************************************/ @@ -672,7 +672,7 @@ static void codifyMapLines(const char *text) }//codifymaplines /* -* writes a function|procedure prototype and links the function|procedure name +* writes a function|procedure prototype and links the function|procedure name */ static void writeFuncProto() @@ -710,7 +710,7 @@ static void writeFuncProto() } }// writeFuncProto -/* writes a process prototype to the ouput */ +/* writes a process prototype to the output */ static void writeProcessProto(){ codifyLines(g_FuncProto.data(),g_CurrClass.data()); @@ -1340,7 +1340,7 @@ XILINX "INST"|"NET"|"PIN"|"BLKNM"|"BUFG"|"COLLAPSE"|"CPLD"|"COMPGRP"|"CONFI writeFont("vhdlkeyword",vhdlcodeYYtext); } -^{B}*("use"|"library"){BN}+ { //found package or library +^{B}*("use"|"library"){BN}+ { //found package or library writeFont("vhdlkeyword",vhdlcodeYYtext); BEGIN(ParsePackage); } diff --git a/src/vhdldocgen.cpp b/src/vhdldocgen.cpp index 7883327..dcf7f42 100644 --- a/src/vhdldocgen.cpp +++ b/src/vhdldocgen.cpp @@ -174,7 +174,7 @@ static void createSVG() } } -// Creates a svg image. All in/out/inout ports are shown with brief description and direction. +// Creates an svg image. All in/out/inout ports are shown with brief description and direction. // Brief descriptions for entities are shown too. void VhdlDocGen::writeOverview() { @@ -585,7 +585,7 @@ const char* g_vhdlKeyWordMap0[] = "map","mod", "nand","new","next","nor","not","null", "of","on","open","or","others","out", - "package","parameter","port","postponed","procedure","process","property","proctected","pure", + "package","parameter","port","postponed","procedure","process","property","protected","pure", "range","record","register","reject","release","restrict","restrict_guarantee","rem","report","rol","ror","return", "select","sequence","severity","signal","shared","sla","sll","sra","srl","strong","subtype", "then","to","transport","type", @@ -2530,7 +2530,7 @@ QCString VhdlDocGen::trDesignUnitMembers() QCString VhdlDocGen::trDesignUnitListDescription() { return "Here is a list of all design unit members with links to " - "the Entities they belong to:"; + "the Entities they belong to:"; } QCString VhdlDocGen::trDesignUnitIndex() @@ -3039,7 +3039,7 @@ void assignBinding(VhdlConfNode * conf) /* // file foo.vhd -// enitity foo +// entity foo // ..... // end entity @@ -3993,7 +3993,7 @@ void FlowChart::createSVG() //const MemberDef *m=VhdlDocGen::getFlowMember(); //if (m) - // fprintf(stderr,"\n creating flowchart : %s %s in file %s \n",VhdlDocGen::trTypeString(m->getMemberSpecifiers()),m->name().data(),m->getFileDef()->name().data()); + // fprintf(stderr,"\n creating flowchart : %s %s in file %s \n",VhdlDocGen::trTypeString(m->getMemberSpecifiers()),m->name().data(),m->getFileDef()->name().data()); QCString dir=" -o \""+ov+qcs+"\""; ov+="/flow_design.dot"; diff --git a/src/xmlcode.l b/src/xmlcode.l index c090531..d2f94ad 100644 --- a/src/xmlcode.l +++ b/src/xmlcode.l @@ -13,7 +13,7 @@ * */ /****************************************************************************** - * Parser for syntax hightlighting and references for XML + * Parser for syntax highlighting and references for XML * written by Weston Thayer ******************************************************************************/ diff --git a/templates/html/sync_off.luma b/templates/html/sync_off.luma index 6f7567c..b81fb87 100644 --- a/templates/html/sync_off.luma +++ b/templates/html/sync_off.luma @@ -1,4 +1,4 @@ -# synchonized view disabled button +# synchronized view disabled button # width & height 24 24 # luma data diff --git a/templates/html/sync_on.luma b/templates/html/sync_on.luma index ca79254..e89a9f3 100644 --- a/templates/html/sync_on.luma +++ b/templates/html/sync_on.luma @@ -1,4 +1,4 @@ -# synchonized view enabled button +# synchronized view enabled button # width & height 24 24 # luma data -- cgit v0.12