summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-10-26 02:06:13 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-10-26 02:06:13 +0000
commit2c3d869fb7202ce956b18d2654024d56ceaf4e98 (patch)
tree63aecd77237f4a1c809fa6b722a020ea81a21154 /TAO
parentb735065af3c8b811b227f5fb1855f0d0d1f539da (diff)
downloadATCD-2c3d869fb7202ce956b18d2654024d56ceaf4e98.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO')
-rw-r--r--TAO/TAO_IDL/fe/idl.ll5
-rw-r--r--TAO/TAO_IDL/fe/lex.yy.cpp5
2 files changed, 6 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/fe/idl.ll b/TAO/TAO_IDL/fe/idl.ll
index 7fe65784cf0..8adbeb0932f 100644
--- a/TAO/TAO_IDL/fe/idl.ll
+++ b/TAO/TAO_IDL/fe/idl.ll
@@ -263,9 +263,10 @@ idl_parse_line_and_file(char *buf)
UTL_String *nm;
/* Skip initial '#' */
- if (*r != '#') {
+ if (*r != '#')
return;
- }
+ else
+ r++;
/* Check to see if we're running under the screwy Microsoft scheme
/* of putting #line num instead of #num. */
diff --git a/TAO/TAO_IDL/fe/lex.yy.cpp b/TAO/TAO_IDL/fe/lex.yy.cpp
index ecdd640ecaa..9cf7069e864 100644
--- a/TAO/TAO_IDL/fe/lex.yy.cpp
+++ b/TAO/TAO_IDL/fe/lex.yy.cpp
@@ -1920,9 +1920,10 @@ idl_parse_line_and_file(char *buf)
UTL_String *nm;
/* Skip initial '#' */
- if (*r != '#') {
+ if (*r != '#')
return;
- }
+ else
+ r++;
/* Check to see if we're running under the screwy Microsoft scheme
/* of putting #line num instead of #num. */