summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2018-12-21 16:47:29 +0000
committerJulien Nabet <serval2412@yahoo.fr>2018-12-28 10:18:17 +0100
commit50e3cede239a5691f4100cc2e74610ad12ad6ba5 (patch)
tree321116a11ae42c69d0376f4ed98e2d7530a20e54 /hwpfilter
parent912666d7e5969aeec87163ad2b4083889008de18 (diff)
Fix typo
Change-Id: Ia445f4377ceab4b6ce147de2dc54cf4edf0ed7d5 Reviewed-on: https://gerrit.libreoffice.org/65564 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/grammar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/grammar.cxx b/hwpfilter/source/grammar.cxx
index 9f33aacfd026..9c44eab4383b 100644
--- a/hwpfilter/source/grammar.cxx
+++ b/hwpfilter/source/grammar.cxx
@@ -1024,7 +1024,7 @@ yyerrlab: /* here on detecting error */
int x, count;
count = 0;
- /* Start X at -yyn if nec to avoid negative indexes in yycheck. */
+ /* Start X at -yyn if negative to avoid negative indexes in yycheck. */
for (x = ((yyn < 0) ? -yyn : 0);
x < (sizeof(yytname) / sizeof(char *)); x++)
if (yycheck[x + yyn] == x)