URL
https://opencores.org/ocsvn/copyblaze/copyblaze/trunk
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 46 |
Line 109... |
Line 109... |
// end of line
|
// end of line
|
return true ;
|
return true ;
|
} else if ( *s == ' ' || iscntrl( *s ) ) {
|
} else if ( *s == ' ' || iscntrl( *s ) ) {
|
// white space, 'space' and all control characters, except \0, \r and \n
|
// white space, 'space' and all control characters, except \0, \r and \n
|
s++ ;
|
s++ ;
|
} else if ( mode && ( isalnum( *s ) ) ) {
|
} else if ( mode && ( isalnum( *s ) || *s == '_' ) ) {
|
// KCPSM mode, all alphanum is accepted for idents, could be hex values
|
// KCPSM mode, all alphanum is accepted for idents, could be hex values
|
// ident
|
// ident
|
start = s++ ;
|
start = s++ ;
|
state = lsIdent ;
|
state = lsIdent ;
|
} else if ( !mode && ( isalpha( *s ) || *s == '_' ) ) {
|
} else if ( !mode && ( isalpha( *s ) || *s == '_' ) ) {
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.