Skip to content

Commit

Permalink
Added missing printing of TOKEN_MANAGER_INCLUDE line
Browse files Browse the repository at this point in the history
Signed-off-by: mmazas <[email protected]>
  • Loading branch information
mmazas authored and mmazas committed Aug 26, 2024
1 parent 3895913 commit af3ba87
Show file tree
Hide file tree
Showing 4 changed files with 176 additions and 159 deletions.
13 changes: 0 additions & 13 deletions bugs/bug001/src/main/javacc/ComplexLineComment.jj
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
options {
DEBUG_TOKEN_MANAGER=true;
TOKEN_MANAGER_INCLUDE="MyTM.h";
}

PARSER_BEGIN(ComplexLineComment)

PARSER_END(ComplexLineComment)

TOKEN_MGR_DECLS : {

int myfield;

void mymethod() {
std::cout << "coucou from tm" << std::endl;
return;
};

}


SKIP : { " " | "\t" | "\n" | "\r" }

TOKEN :
Expand Down
6 changes: 2 additions & 4 deletions examples/MailProcessing/src/main/cpp/Mail.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
int main(int argc, char** argv) {
int main(int argc, char **argv) {
}

#if 0
import java.io.*;

public class Digest {
Expand All @@ -10,7 +9,7 @@ public class Digest {

static String buffer = "";

public static void main(String args[]) throws ParseException, FileNotFoundException {
public static void main(String args[]) throws ParseException, FileNotFoundException {
Digest parser = new Digest(new FileInputStream(args[0]));
System.out.println("DIGEST OF RECENT MESSAGES FROM THE JAVACC MAILING LIST");
System.out.println("----------------------------------------------------------------------");
Expand All @@ -31,4 +30,3 @@ public class Digest {
}

}
#endif
1 change: 1 addition & 0 deletions it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
<groupId>com.github.maven-nar</groupId>
<artifactId>nar-maven-plugin</artifactId>
<configuration>
<debug>true</debug>
<commandLogLevel>3</commandLogLevel>
<windowsMsvcVersion>${env.VISUALSTUDIOVERSION}</windowsMsvcVersion>
<!-- <windowsMsvcVersion>17.10</windowsMsvcVersion>-->
Expand Down
Loading

0 comments on commit af3ba87

Please sign in to comment.