aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-04-30 21:40:57 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-04-30 21:40:57 +0000
commit4a8c8e4d7f4122bef0d1b1e0b8d0f6ae84a617b4 (patch)
treeefae6f6e9fbd2badc0f328da07d86d1738c18aa9 /epan/dfilter
parent1b6b831daff3ffaaf1f6f8eff7e195a0bd22ce04 (diff)
Fix up indentation a bit
svn path=/trunk/; revision=32617
Diffstat (limited to 'epan/dfilter')
-rw-r--r--epan/dfilter/scanner.l22
1 files changed, 11 insertions, 11 deletions
diff --git a/epan/dfilter/scanner.l b/epan/dfilter/scanner.l
index a9a2516877..4a22d8cb33 100644
--- a/epan/dfilter/scanner.l
+++ b/epan/dfilter/scanner.l
@@ -254,7 +254,7 @@ static void mark_lval_deprecated(const char *s);
[-\+[:alnum:]_.:]+ {
/* Is it a field name? */
header_field_info *hfinfo;
- df_func_def_t *df_func_def;
+ df_func_def_t *df_func_def;
hfinfo = proto_registrar_get_byname(yytext);
if (hfinfo) {
@@ -262,16 +262,16 @@ static void mark_lval_deprecated(const char *s);
return set_lval(TOKEN_FIELD, hfinfo);
}
else {
- /* Is it a function name? */
- df_func_def = df_func_lookup(yytext);
- if (df_func_def) {
- /* yes, it's a dfilter function */
- return set_lval(TOKEN_FUNCTION, df_func_def);
- }
- else {
- /* No, so treat it as an unparsed string */
- return set_lval(TOKEN_UNPARSED, yytext);
- }
+ /* Is it a function name? */
+ df_func_def = df_func_lookup(yytext);
+ if (df_func_def) {
+ /* yes, it's a dfilter function */
+ return set_lval(TOKEN_FUNCTION, df_func_def);
+ }
+ else {
+ /* No, so treat it as an unparsed string */
+ return set_lval(TOKEN_UNPARSED, yytext);
+ }
}
}