Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
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
kicad-source-mirror
Commits
12e6dca4
Commit
12e6dca4
authored
Nov 09, 2010
by
Wayne Stambaugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change token list to DSN lexer CMake module to output new IO_ERROR exception.
parent
067bf851
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
TokenList2DsnLexer.cmake
CMakeModules/TokenList2DsnLexer.cmake
+8
-8
No files found.
CMakeModules/TokenList2DsnLexer.cmake
View file @
12e6dca4
...
@@ -262,9 +262,9 @@ public:
...
@@ -262,9 +262,9 @@ public:
* this lower level function returning an int (so the enum does not collide
* this lower level function returning an int (so the enum does not collide
* with another usage).
* with another usage).
* @return
${
enum
}
- the type of token found next.
* @return
${
enum
}
- the type of token found next.
* @throw IO
Error
- only if the LINE_READER throws it.
* @throw IO
_ERROR
- only if the LINE_READER throws it.
*/
*/
${
enum
}
NextTok() throw
(IOError
)
${
enum
}
NextTok() throw
( IO_ERROR
)
{
{
return (
${
enum
}
) DSNLEXER::NextTok();
return (
${
enum
}
) DSNLEXER::NextTok();
}
}
...
@@ -273,11 +273,11 @@ public:
...
@@ -273,11 +273,11 @@ public:
* Function NeedSYMBOL
* Function NeedSYMBOL
* calls NextTok() and then verifies that the token read in
* calls NextTok() and then verifies that the token read in
* satisfies bool IsSymbol().
* satisfies bool IsSymbol().
* If not, an IO
Error
is thrown.
* If not, an IO
_ERROR
is thrown.
* @return int - the actual token read in.
* @return int - the actual token read in.
* @throw IO
Error
, if the next token does not satisfy IsSymbol()
* @throw IO
_ERROR
, if the next token does not satisfy IsSymbol()
*/
*/
${
enum
}
NeedSYMBOL() throw( IO
Error
)
${
enum
}
NeedSYMBOL() throw( IO
_ERROR
)
{
{
return (
${
enum
}
) DSNLEXER::NeedSYMBOL();
return (
${
enum
}
) DSNLEXER::NeedSYMBOL();
}
}
...
@@ -286,11 +286,11 @@ public:
...
@@ -286,11 +286,11 @@ public:
* Function NeedSYMBOLorNUMBER
* Function NeedSYMBOLorNUMBER
* calls NextTok() and then verifies that the token read in
* calls NextTok() and then verifies that the token read in
* satisfies bool IsSymbol() or tok==T_NUMBER.
* satisfies bool IsSymbol() or tok==T_NUMBER.
* If not, an IO
Error
is thrown.
* If not, an IO
_ERROR
is thrown.
* @return int - the actual token read in.
* @return int - the actual token read in.
* @throw IO
Error
, if the next token does not satisfy the above test
* @throw IO
_ERROR
, if the next token does not satisfy the above test
*/
*/
${
enum
}
NeedSYMBOLorNUMBER() throw( IO
Error
)
${
enum
}
NeedSYMBOLorNUMBER() throw( IO
_ERROR
)
{
{
return (
${
enum
}
) DSNLEXER::NeedSYMBOLorNUMBER();
return (
${
enum
}
) DSNLEXER::NeedSYMBOLorNUMBER();
}
}
...
...
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