summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ply/cpp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ply/cpp.py b/ply/cpp.py
index ade2987..b6bfc69 100644
--- a/ply/cpp.py
+++ b/ply/cpp.py
@@ -77,6 +77,7 @@ def t_CPP_COMMENT2(t):
r'(//.*?(\n|$))'
# replace with '/n'
t.type = 'CPP_WS'; t.value = '\n'
+ return t
def t_error(t):
t.type = t.value[0]