The Rosetta DSSP code should identify beta bridges as ‘B’ (versus regular beta sheets, which are ‘E’). Is there some reason that post-processing the results doesn’t work for you? (That is, pull out the DSSP assignments as a string and then use string replacement to replace all the ‘B’s with ‘L’s)
If you did want to change the assignments by hacking the code, you would just need to find the places where the ‘B’s were assigned. This actually doesn’t happen in src/core/scoring/dssp/Dssp.cc itself, but rather in src/core/scoring/dssp/StrandPairing.cc. At around line 630 or so, you’ll notice a line which is `state = ‘B’;`. If you want Rosetta to classify beta-bridges as ‘L’, just change that line to`state = ‘L’;`.