diff options
Diffstat (limited to 'src/VBox/Runtime/common/err/errmsg.sed')
-rw-r--r-- | src/VBox/Runtime/common/err/errmsg.sed | 35 |
1 files changed, 8 insertions, 27 deletions
diff --git a/src/VBox/Runtime/common/err/errmsg.sed b/src/VBox/Runtime/common/err/errmsg.sed index 5dc80e9c..2ccc7be0 100644 --- a/src/VBox/Runtime/common/err/errmsg.sed +++ b/src/VBox/Runtime/common/err/errmsg.sed @@ -49,33 +49,14 @@ b end ## # Convert descriptive comments. /** desc */ :description -# arg! how to do N until end of comment? -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N -/\*\//!N + +# Read all the lines belonging to the comment into the buffer. +:look-for-end-of-comment +/\*\//bend-of-comment +N +blook-for-end-of-comment +:end-of-comment + # anything with @{ and @} is skipped /@[\{\}]/d |