summaryrefslogtreecommitdiff
path: root/cfgscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'cfgscan.c')
-rw-r--r--cfgscan.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/cfgscan.c b/cfgscan.c
index 4f9ea20..a10ca95 100644
--- a/cfgscan.c
+++ b/cfgscan.c
@@ -7,19 +7,19 @@
fee is hereby granted, provided that the above copyright
notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting
- documentation, and that the name of Silicon Graphics not be
- used in advertising or publicity pertaining to distribution
+ documentation, and that the name of Silicon Graphics not be
+ used in advertising or publicity pertaining to distribution
of the software without specific prior written permission.
- Silicon Graphics makes no representation about the suitability
+ Silicon Graphics makes no representation about the suitability
of this software for any purpose. It is provided "as is"
without any express or implied warranty.
-
- SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
- SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+
+ SILICON GRAPHICS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
+ SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
- GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
- DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+ GRAPHICS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
+ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH
THE USE OR PERFORMANCE OF THIS SOFTWARE.
@@ -136,7 +136,7 @@ int ch;
else if ( ch == '0' ) {
int tmp,stop;
ch = stop = 0;
- if (((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
+ if (((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
(tmp!='8') && (tmp!='9')) {
ch= (ch*8)+(tmp-'0');
}
@@ -144,7 +144,7 @@ int ch;
stop= 1;
ungetc(tmp,yyin);
}
- if ((!stop) && ((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
+ if ((!stop) && ((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
(tmp!='8') && (tmp!='9')) {
ch= (ch*8)+(tmp-'0');
}
@@ -152,7 +152,7 @@ int ch;
stop= 1;
ungetc(tmp,yyin);
}
- if ((!stop) && ((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
+ if ((!stop) && ((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
(tmp!='8') && (tmp!='9')) {
ch= (ch*8)+(tmp-'0');
}
@@ -165,7 +165,7 @@ int ch;
else return ERROR;
}
- if ( nInBuf < BUFSIZE-1 )
+ if ( nInBuf < BUFSIZE-1 )
buf[nInBuf++] = ch;
}
if ( ch == '"' ) {
@@ -198,7 +198,7 @@ int ch;
else if ( ch == '0' ) {
int tmp,stop;
ch = stop = 0;
- if (((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
+ if (((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
(tmp!='8') && (tmp!='9')) {
ch= (ch*8)+(tmp-'0');
}
@@ -206,7 +206,7 @@ int ch;
stop= 1;
ungetc(tmp,yyin);
}
- if ((!stop) && ((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
+ if ((!stop) && ((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
(tmp!='8') && (tmp!='9')) {
ch= (ch*8)+(tmp-'0');
}
@@ -214,7 +214,7 @@ int ch;
stop= 1;
ungetc(tmp,yyin);
}
- if ((!stop) && ((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
+ if ((!stop) && ((tmp=getc(yyin))!=EOF) && (isdigit(tmp)) &&
(tmp!='8') && (tmp!='9')) {
ch= (ch*8)+(tmp-'0');
}
@@ -227,7 +227,7 @@ int ch;
else return ERROR;
}
- if ( nInBuf < BUFSIZE-1 )
+ if ( nInBuf < BUFSIZE-1 )
buf[nInBuf++] = ch;
}
if (( ch == '>' )&&(nInBuf<5)) {
@@ -332,7 +332,7 @@ yylex(void)
{
int ch;
int rtrn;
-
+
do {
ch = getc(yyin);
if ( ch == '\n' ) {