LLOOP Index | GSP Language | GSP Library | Framework Classes | Component Classes

comment_cpp.gsp

This is the verbatim text of the file "comment_cpp.gsp" part of the LLOOP package. The copyright remains with Michel MEHL. All rights reserved.



/**
 * Reads a C++ comment, ie. either a pure C comment or a one-line C++ comment.
 */

import comment_c;
import any;

string comment_cpp;

comment_cpp ::= comment_c
{{
  set($1);
}}
| '\/\/' any '\n'
{{
  set($1);
}}

This file is part of the LLOOP Reversible Object-Oriented Parser Generator. Copyright (c) 2005-2006 Michel MEHL, France. All rights reserved. LLOOP is distributed by the company ERSA SaRL.


Copyright (c) 2005-2006 Michel MEHL, Haguenau, France
LLOOP version 1.1