"Fossies" - the Fresh Open Source Software Archive

Member "dosemu-1.4.0/src/plugin/demo/config/plugin_parser" (23 Jun 2003, 146 Bytes) of package /linux/misc/old/dosemu-1.4.0.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* Merged parser stuff for demo plugin
    2  */
    3 
    4 %{
    5 extern int my_plugin_conf;
    6 %}
    7 
    8 %token DEMO
    9 
   10 %%
   11 
   12 line:
   13         DEMO bool   {my_plugin_conf = ($2!=0);}
   14 
   15 %%
   16