You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I create my JavaScript source by tangling a Markdown file and passing the code as stdin to the Closure compiler. All warnings and error message of the compiler are prefixed by "stdin". In the following example stdin:7 should be line 61 in my Markdown source.
stdin:7:4: ERROR - [JSC_UNDEFINED_VARIABLE] variable asw is undeclared
I would like to extend my tangle to add some pragmas to my JavaScript to get the file name and line number right as it is done by CPP. How can I do this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I create my JavaScript source by tangling a Markdown file and passing the code as stdin to the Closure compiler. All warnings and error message of the compiler are prefixed by "stdin". In the following example stdin:7 should be line 61 in my Markdown source.
I would like to extend my tangle to add some pragmas to my JavaScript to get the file name and line number right as it is done by CPP. How can I do this?
Beta Was this translation helpful? Give feedback.
All reactions