diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2005-12-13 22:08:37 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2005-12-13 22:08:37 +0000 |
commit | d265d85d92577715e85152f28b919db87ca4573f (patch) | |
tree | 0b239b7ea14869a01a6d62e39ebcf66942d904f3 | |
parent | b40ff00e49ee79feae327e8045a414f55ec23557 (diff) | |
download | wireshark-d265d85d92577715e85152f28b919db87ca4573f.tar.gz wireshark-d265d85d92577715e85152f28b919db87ca4573f.tar.bz2 wireshark-d265d85d92577715e85152f28b919db87ca4573f.zip |
we are opening the file for writing....
svn path=/trunk/; revision=16784
-rw-r--r-- | plugins/mate/mate_grammar.lemon | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mate/mate_grammar.lemon b/plugins/mate/mate_grammar.lemon index cfbd2e86a5..e9b542cdff 100644 --- a/plugins/mate/mate_grammar.lemon +++ b/plugins/mate/mate_grammar.lemon @@ -263,8 +263,8 @@ decl ::= DONE_KW SEMICOLON. debug_decl ::= DEBUG_KW OPEN_BRACE dbgfile_default dbglevel_default pdu_dbglevel_default gop_dbglevel_default gog_dbglevel_default CLOSE_BRACE SEMICOLON. -dbgfile_default ::= FILENAME_KW QUOTED(Filename) SEMICOLON. { mc->dbg_facility = fopen(Filename,"w"); if (mc->dbg_facility == NULL) report_open_failure(Filename,errno,FALSE); } -dbgfile_default ::= FILENAME_KW NAME(Filename) SEMICOLON. { mc->dbg_facility = fopen(Filename,"w"); if (mc->dbg_facility == NULL) report_open_failure(Filename,errno,FALSE); } +dbgfile_default ::= FILENAME_KW QUOTED(Filename) SEMICOLON. { mc->dbg_facility = fopen(Filename,"w"); if (mc->dbg_facility == NULL) report_open_failure(Filename,errno,TRUE); } +dbgfile_default ::= FILENAME_KW NAME(Filename) SEMICOLON. { mc->dbg_facility = fopen(Filename,"w"); if (mc->dbg_facility == NULL) report_open_failure(Filename,errno,TRUE); } dbgfile_default ::= . dbglevel_default ::= LEVEL_KW INTEGER(LevelString) SEMICOLON. { mc->dbg_lvl = (int) strtol(LevelString,NULL,10); } |