Skip to content

Cannot run the code and get output #1

@Shakib1126

Description

@Shakib1126

when I try to run the makefile using the "make" command I get the following error. (I am only running pp1 that is the lexical analyzer / Scanner)

g++ -g -Wall -Wno-unused -Wno-sign-compare   -c -o lex.yy.o lex.yy.c 
 scanner.l: In function 'void InitScanner()':
scanner.l:166:5: error: 'yy_flex_debug' was not declared in this scope    yy_flex_debug = IsDebugOn("lex");                                                                                                                                                                                     make: *** [lex.yy.o] Error 1  

Can someone provide how do I run this code for scanner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions