summaryrefslogtreecommitdiff
path: root/src/cparse/cparse_lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/cparse/cparse_lex.l')
-rw-r--r--src/cparse/cparse_lex.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cparse/cparse_lex.l b/src/cparse/cparse_lex.l
index 8fcd5f3..462c558 100644
--- a/src/cparse/cparse_lex.l
+++ b/src/cparse/cparse_lex.l
@@ -115,6 +115,9 @@ free_str()
return COMMENT;
}
+"//".* { /* Do nothing. */
+}
+
<INITIAL>! {
node_deactivated = 1;
}