|
@@ -499,21 +499,13 @@ STEP::LazyObject::LazyObject(DB& db, uint64_t id,uint64_t /*line*/, const char*
|
|
int64_t skip_depth( 0 );
|
|
int64_t skip_depth( 0 );
|
|
while ( *a ) {
|
|
while ( *a ) {
|
|
handleSkippedDepthFromToken(a, skip_depth);
|
|
handleSkippedDepthFromToken(a, skip_depth);
|
|
- /*if (*a == '(') {
|
|
|
|
- ++skip_depth;
|
|
|
|
- } else if (*a == ')') {
|
|
|
|
- --skip_depth;
|
|
|
|
- }*/
|
|
|
|
-
|
|
|
|
- if (skip_depth >= 1 && *a=='#') {
|
|
|
|
- if (*(a + 1) != '#') {
|
|
|
|
- /*const char *tmp;
|
|
|
|
- const int64_t num = static_cast<int64_t>(strtoul10_64(a + 1, &tmp));
|
|
|
|
- db.MarkRef(num, id);*/
|
|
|
|
- db.MarkRef(getIdFromToken(a), id);
|
|
|
|
- } else {
|
|
|
|
- ++a;
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
+ if (skip_depth >= 1 && *a=='#') {
|
|
|
|
+ if (*(a + 1) != '#') {
|
|
|
|
+ db.MarkRef(getIdFromToken(a), id);
|
|
|
|
+ } else {
|
|
|
|
+ ++a;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
++a;
|
|
++a;
|
|
}
|
|
}
|